Class CfnProjectPropsMixin.LogsConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codebuild.CfnProjectPropsMixin.LogsConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectPropsMixin.LogsConfigProperty>
- Enclosing interface:
CfnProjectPropsMixin.LogsConfigProperty
@Stability(Stable)
public static final class CfnProjectPropsMixin.LogsConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectPropsMixin.LogsConfigProperty>
A builder for
CfnProjectPropsMixin.LogsConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchLogs(CfnProjectPropsMixin.CloudWatchLogsConfigProperty cloudWatchLogs) Sets the value ofCfnProjectPropsMixin.LogsConfigProperty.getCloudWatchLogs()cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnProjectPropsMixin.LogsConfigProperty.getCloudWatchLogs()Sets the value ofCfnProjectPropsMixin.LogsConfigProperty.getS3Logs()s3Logs(IResolvable s3Logs) Sets the value ofCfnProjectPropsMixin.LogsConfigProperty.getS3Logs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchLogs
@Stability(Stable) public CfnProjectPropsMixin.LogsConfigProperty.Builder cloudWatchLogs(IResolvable cloudWatchLogs) Sets the value ofCfnProjectPropsMixin.LogsConfigProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.- Returns:
this
-
cloudWatchLogs
@Stability(Stable) public CfnProjectPropsMixin.LogsConfigProperty.Builder cloudWatchLogs(CfnProjectPropsMixin.CloudWatchLogsConfigProperty cloudWatchLogs) Sets the value ofCfnProjectPropsMixin.LogsConfigProperty.getCloudWatchLogs()- Parameters:
cloudWatchLogs- Information about CloudWatch Logs for a build project. CloudWatch Logs are enabled by default.- Returns:
this
-
s3Logs
@Stability(Stable) public CfnProjectPropsMixin.LogsConfigProperty.Builder s3Logs(IResolvable s3Logs) Sets the value ofCfnProjectPropsMixin.LogsConfigProperty.getS3Logs()- Parameters:
s3Logs- Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.- Returns:
this
-
s3Logs
@Stability(Stable) public CfnProjectPropsMixin.LogsConfigProperty.Builder s3Logs(CfnProjectPropsMixin.S3LogsConfigProperty s3Logs) Sets the value ofCfnProjectPropsMixin.LogsConfigProperty.getS3Logs()- Parameters:
s3Logs- Information about logs built to an S3 bucket for a build project. S3 logs are not enabled by default.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProjectPropsMixin.LogsConfigProperty>- Returns:
- a new instance of
CfnProjectPropsMixin.LogsConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-