Interface LogsLocation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LogsLocation.Builder,
,LogsLocation> SdkBuilder<LogsLocation.Builder,
,LogsLocation> SdkPojo
- Enclosing class:
LogsLocation
-
Method Summary
Modifier and TypeMethodDescriptiondefault LogsLocation.Builder
cloudWatchLogs
(Consumer<CloudWatchLogsConfig.Builder> cloudWatchLogs) Information about CloudWatch Logs for a build project.cloudWatchLogs
(CloudWatchLogsConfig cloudWatchLogs) Information about CloudWatch Logs for a build project.cloudWatchLogsArn
(String cloudWatchLogsArn) The ARN of the CloudWatch Logs stream for a build execution.The URL to an individual build log in CloudWatch Logs.The name of the CloudWatch Logs group for the build logs.s3DeepLink
(String s3DeepLink) The URL to a build log in an S3 bucket.default LogsLocation.Builder
s3Logs
(Consumer<S3LogsConfig.Builder> s3Logs) Information about S3 logs for a build project.s3Logs
(S3LogsConfig s3Logs) Information about S3 logs for a build project.The ARN of S3 logs for a build project.streamName
(String streamName) The name of the CloudWatch Logs stream for the build logs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
groupName
The name of the CloudWatch Logs group for the build logs.
- Parameters:
groupName
- The name of the CloudWatch Logs group for the build logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamName
The name of the CloudWatch Logs stream for the build logs.
- Parameters:
streamName
- The name of the CloudWatch Logs stream for the build logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deepLink
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.- Parameters:
deepLink
- The URL to an individual build log in CloudWatch Logs. The log stream is created during the PROVISIONING phase of a build and thedeeplink
will not be valid until it is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DeepLink
The URL to a build log in an S3 bucket.
- Parameters:
s3DeepLink
- The URL to a build log in an S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogsArn
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.- Parameters:
cloudWatchLogsArn
- The ARN of the CloudWatch Logs stream for a build execution. Its format isarn:${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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3LogsArn
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.- Parameters:
s3LogsArn
- The ARN of S3 logs for a build project. Its format isarn:${Partition}:s3:::${BucketName}/${ObjectName}
. For more information, see Resources Defined by Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
Information about CloudWatch Logs for a build project.
- Parameters:
cloudWatchLogs
- Information about CloudWatch Logs for a build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
Information about CloudWatch Logs for a build project.
This is a convenience method that creates an instance of theCloudWatchLogsConfig.Builder
avoiding the need to create one manually viaCloudWatchLogsConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLogs(CloudWatchLogsConfig)
.- Parameters:
cloudWatchLogs
- a consumer that will call methods onCloudWatchLogsConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Logs
Information about S3 logs for a build project.
- Parameters:
s3Logs
- Information about S3 logs for a build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Logs
Information about S3 logs for a build project.
This is a convenience method that creates an instance of theS3LogsConfig.Builder
avoiding the need to create one manually viaS3LogsConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Logs(S3LogsConfig)
.- Parameters:
s3Logs
- a consumer that will call methods onS3LogsConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-