Struct aws_sdk_codebuild::model::CloudWatchLogsConfig
source · [−]#[non_exhaustive]pub struct CloudWatchLogsConfig {
pub status: Option<LogsConfigStatusType>,
pub group_name: Option<String>,
pub stream_name: Option<String>,
}
Expand description
Information about CloudWatch Logs for a build project.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.status: Option<LogsConfigStatusType>
The current status of the logs in CloudWatch Logs for a build project. Valid values are:
-
ENABLED
: CloudWatch Logs are enabled for this build project. -
DISABLED
: CloudWatch Logs are not enabled for this build project.
group_name: Option<String>
The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
stream_name: Option<String>
The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
Implementations
sourceimpl CloudWatchLogsConfig
impl CloudWatchLogsConfig
sourcepub fn status(&self) -> Option<&LogsConfigStatusType>
pub fn status(&self) -> Option<&LogsConfigStatusType>
The current status of the logs in CloudWatch Logs for a build project. Valid values are:
-
ENABLED
: CloudWatch Logs are enabled for this build project. -
DISABLED
: CloudWatch Logs are not enabled for this build project.
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The group name of the logs in CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The prefix of the stream name of the CloudWatch Logs. For more information, see Working with Log Groups and Log Streams.
sourceimpl CloudWatchLogsConfig
impl CloudWatchLogsConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CloudWatchLogsConfig
Trait Implementations
sourceimpl Clone for CloudWatchLogsConfig
impl Clone for CloudWatchLogsConfig
sourcefn clone(&self) -> CloudWatchLogsConfig
fn clone(&self) -> CloudWatchLogsConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CloudWatchLogsConfig
impl Debug for CloudWatchLogsConfig
sourceimpl PartialEq<CloudWatchLogsConfig> for CloudWatchLogsConfig
impl PartialEq<CloudWatchLogsConfig> for CloudWatchLogsConfig
sourcefn eq(&self, other: &CloudWatchLogsConfig) -> bool
fn eq(&self, other: &CloudWatchLogsConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CloudWatchLogsConfig) -> bool
fn ne(&self, other: &CloudWatchLogsConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for CloudWatchLogsConfig
Auto Trait Implementations
impl RefUnwindSafe for CloudWatchLogsConfig
impl Send for CloudWatchLogsConfig
impl Sync for CloudWatchLogsConfig
impl Unpin for CloudWatchLogsConfig
impl UnwindSafe for CloudWatchLogsConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more