Struct aws_sdk_codebuild::types::builders::LogsLocationBuilder
source · #[non_exhaustive]pub struct LogsLocationBuilder { /* private fields */ }
Expand description
A builder for LogsLocation
.
Implementations§
source§impl LogsLocationBuilder
impl LogsLocationBuilder
sourcepub fn group_name(self, input: impl Into<String>) -> Self
pub fn group_name(self, input: impl Into<String>) -> Self
The name of the CloudWatch Logs group for the build logs.
sourcepub fn set_group_name(self, input: Option<String>) -> Self
pub fn set_group_name(self, input: Option<String>) -> Self
The name of the CloudWatch Logs group for the build logs.
sourcepub fn get_group_name(&self) -> &Option<String>
pub fn get_group_name(&self) -> &Option<String>
The name of the CloudWatch Logs group for the build logs.
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of the CloudWatch Logs stream for the build logs.
sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The name of the CloudWatch Logs stream for the build logs.
sourcepub fn get_stream_name(&self) -> &Option<String>
pub fn get_stream_name(&self) -> &Option<String>
The name of the CloudWatch Logs stream for the build logs.
sourcepub fn deep_link(self, input: impl Into<String>) -> Self
pub fn deep_link(self, input: impl Into<String>) -> Self
The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the deeplink
will not be valid until it is created.
sourcepub fn set_deep_link(self, input: Option<String>) -> Self
pub fn set_deep_link(self, input: Option<String>) -> Self
The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the deeplink
will not be valid until it is created.
sourcepub fn get_deep_link(&self) -> &Option<String>
pub fn get_deep_link(&self) -> &Option<String>
The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and the deeplink
will not be valid until it is created.
sourcepub fn s3_deep_link(self, input: impl Into<String>) -> Self
pub fn s3_deep_link(self, input: impl Into<String>) -> Self
The URL to a build log in an S3 bucket.
sourcepub fn set_s3_deep_link(self, input: Option<String>) -> Self
pub fn set_s3_deep_link(self, input: Option<String>) -> Self
The URL to a build log in an S3 bucket.
sourcepub fn get_s3_deep_link(&self) -> &Option<String>
pub fn get_s3_deep_link(&self) -> &Option<String>
The URL to a build log in an S3 bucket.
sourcepub fn cloud_watch_logs_arn(self, input: impl Into<String>) -> Self
pub fn cloud_watch_logs_arn(self, input: impl Into<String>) -> Self
The ARN of the CloudWatch Logs stream for a build execution. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}
. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs.
sourcepub fn set_cloud_watch_logs_arn(self, input: Option<String>) -> Self
pub fn set_cloud_watch_logs_arn(self, input: Option<String>) -> Self
The ARN of the CloudWatch Logs stream for a build execution. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}
. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs.
sourcepub fn get_cloud_watch_logs_arn(&self) -> &Option<String>
pub fn get_cloud_watch_logs_arn(&self) -> &Option<String>
The ARN of the CloudWatch Logs stream for a build execution. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}
. The CloudWatch Logs stream is created during the PROVISIONING phase of a build and the ARN will not be valid until it is created. For more information, see Resources Defined by CloudWatch Logs.
sourcepub fn s3_logs_arn(self, input: impl Into<String>) -> Self
pub fn s3_logs_arn(self, input: impl Into<String>) -> Self
The ARN of S3 logs for a build project. Its format is arn:${Partition}:s3:::${BucketName}/${ObjectName}
. For more information, see Resources Defined by Amazon S3.
sourcepub fn set_s3_logs_arn(self, input: Option<String>) -> Self
pub fn set_s3_logs_arn(self, input: Option<String>) -> Self
The ARN of S3 logs for a build project. Its format is arn:${Partition}:s3:::${BucketName}/${ObjectName}
. For more information, see Resources Defined by Amazon S3.
sourcepub fn get_s3_logs_arn(&self) -> &Option<String>
pub fn get_s3_logs_arn(&self) -> &Option<String>
The ARN of S3 logs for a build project. Its format is arn:${Partition}:s3:::${BucketName}/${ObjectName}
. For more information, see Resources Defined by Amazon S3.
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.
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.
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.
sourcepub fn s3_logs(self, input: S3LogsConfig) -> Self
pub fn s3_logs(self, input: S3LogsConfig) -> Self
Information about S3 logs for a build project.
sourcepub fn set_s3_logs(self, input: Option<S3LogsConfig>) -> Self
pub fn set_s3_logs(self, input: Option<S3LogsConfig>) -> Self
Information about S3 logs for a build project.
sourcepub fn get_s3_logs(&self) -> &Option<S3LogsConfig>
pub fn get_s3_logs(&self) -> &Option<S3LogsConfig>
Information about S3 logs for a build project.
sourcepub fn build(self) -> LogsLocation
pub fn build(self) -> LogsLocation
Consumes the builder and constructs a LogsLocation
.
Trait Implementations§
source§impl Clone for LogsLocationBuilder
impl Clone for LogsLocationBuilder
source§fn clone(&self) -> LogsLocationBuilder
fn clone(&self) -> LogsLocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LogsLocationBuilder
impl Debug for LogsLocationBuilder
source§impl Default for LogsLocationBuilder
impl Default for LogsLocationBuilder
source§fn default() -> LogsLocationBuilder
fn default() -> LogsLocationBuilder
source§impl PartialEq for LogsLocationBuilder
impl PartialEq for LogsLocationBuilder
source§fn eq(&self, other: &LogsLocationBuilder) -> bool
fn eq(&self, other: &LogsLocationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogsLocationBuilder
Auto Trait Implementations§
impl Freeze for LogsLocationBuilder
impl RefUnwindSafe for LogsLocationBuilder
impl Send for LogsLocationBuilder
impl Sync for LogsLocationBuilder
impl Unpin for LogsLocationBuilder
impl UnwindSafe for LogsLocationBuilder
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
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>
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>
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 more