Struct aws_sdk_codebuild::model::logs_location::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for LogsLocation
.
Implementations
sourceimpl Builder
impl Builder
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 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 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.
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.
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 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 CloudWatch Logs for a build project. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}
. 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 CloudWatch Logs for a build project. Its format is arn:${Partition}:logs:${Region}:${Account}:log-group:${LogGroupName}:log-stream:${LogStreamName}
. 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 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 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 build(self) -> LogsLocation
pub fn build(self) -> LogsLocation
Consumes the builder and constructs a LogsLocation
.