Interface LogsConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LogsConfig.Builder,,LogsConfig> SdkBuilder<LogsConfig.Builder,,LogsConfig> SdkPojo
- Enclosing class:
LogsConfig
public static interface LogsConfig.Builder
extends SdkPojo, CopyableBuilder<LogsConfig.Builder,LogsConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault LogsConfig.BuildercloudWatchLogs(Consumer<CloudWatchLogsConfig.Builder> cloudWatchLogs) Information about CloudWatch Logs for a build project.cloudWatchLogs(CloudWatchLogsConfig cloudWatchLogs) Information about CloudWatch Logs for a build project.default LogsConfig.Builders3Logs(Consumer<S3LogsConfig.Builder> s3Logs) Information about logs built to an S3 bucket for a build project.s3Logs(S3LogsConfig s3Logs) Information about logs built to an S3 bucket for a build project.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
cloudWatchLogs
Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
- Parameters:
cloudWatchLogs- Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLogs
Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.
This is a convenience method that creates an instance of theCloudWatchLogsConfig.Builderavoiding the need to create one manually viaCloudWatchLogsConfig.builder().When the
Consumercompletes,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 logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
- Parameters:
s3Logs- Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Logs
Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.
This is a convenience method that creates an instance of theS3LogsConfig.Builderavoiding the need to create one manually viaS3LogsConfig.builder().When the
Consumercompletes,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:
-