Struct aws_sdk_codebuild::types::builders::LogsConfigBuilder
source · #[non_exhaustive]pub struct LogsConfigBuilder { /* private fields */ }
Expand description
A builder for LogsConfig
.
Implementations§
source§impl LogsConfigBuilder
impl LogsConfigBuilder
sourcepub fn cloud_watch_logs(self, input: CloudWatchLogsConfig) -> Self
pub fn cloud_watch_logs(self, input: CloudWatchLogsConfig) -> Self
Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
sourcepub fn set_cloud_watch_logs(self, input: Option<CloudWatchLogsConfig>) -> Self
pub fn set_cloud_watch_logs(self, input: Option<CloudWatchLogsConfig>) -> Self
Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
sourcepub fn get_cloud_watch_logs(&self) -> &Option<CloudWatchLogsConfig>
pub fn get_cloud_watch_logs(&self) -> &Option<CloudWatchLogsConfig>
Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
sourcepub fn s3_logs(self, input: S3LogsConfig) -> Self
pub fn s3_logs(self, input: S3LogsConfig) -> Self
Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
sourcepub fn set_s3_logs(self, input: Option<S3LogsConfig>) -> Self
pub fn set_s3_logs(self, input: Option<S3LogsConfig>) -> Self
Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
sourcepub fn get_s3_logs(&self) -> &Option<S3LogsConfig>
pub fn get_s3_logs(&self) -> &Option<S3LogsConfig>
Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
sourcepub fn build(self) -> LogsConfig
pub fn build(self) -> LogsConfig
Consumes the builder and constructs a LogsConfig
.
Trait Implementations§
source§impl Clone for LogsConfigBuilder
impl Clone for LogsConfigBuilder
source§fn clone(&self) -> LogsConfigBuilder
fn clone(&self) -> LogsConfigBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LogsConfigBuilder
impl Debug for LogsConfigBuilder
source§impl Default for LogsConfigBuilder
impl Default for LogsConfigBuilder
source§fn default() -> LogsConfigBuilder
fn default() -> LogsConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LogsConfigBuilder
impl PartialEq for LogsConfigBuilder
source§fn eq(&self, other: &LogsConfigBuilder) -> bool
fn eq(&self, other: &LogsConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogsConfigBuilder
Auto Trait Implementations§
impl Freeze for LogsConfigBuilder
impl RefUnwindSafe for LogsConfigBuilder
impl Send for LogsConfigBuilder
impl Sync for LogsConfigBuilder
impl Unpin for LogsConfigBuilder
impl UnwindSafe for LogsConfigBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.