Class CfnProjectPropsMixin.S3LogsConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codebuild.CfnProjectPropsMixin.S3LogsConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectPropsMixin.S3LogsConfigProperty>
- Enclosing interface:
CfnProjectPropsMixin.S3LogsConfigProperty
@Stability(Stable)
public static final class CfnProjectPropsMixin.S3LogsConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectPropsMixin.S3LogsConfigProperty>
A builder for
CfnProjectPropsMixin.S3LogsConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionDisabled(Boolean encryptionDisabled) Sets the value ofCfnProjectPropsMixin.S3LogsConfigProperty.getEncryptionDisabled()encryptionDisabled(IResolvable encryptionDisabled) Sets the value ofCfnProjectPropsMixin.S3LogsConfigProperty.getEncryptionDisabled()Sets the value ofCfnProjectPropsMixin.S3LogsConfigProperty.getLocation()Sets the value ofCfnProjectPropsMixin.S3LogsConfigProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionDisabled
@Stability(Stable) public CfnProjectPropsMixin.S3LogsConfigProperty.Builder encryptionDisabled(Boolean encryptionDisabled) Sets the value ofCfnProjectPropsMixin.S3LogsConfigProperty.getEncryptionDisabled()- Parameters:
encryptionDisabled- Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.- Returns:
this
-
encryptionDisabled
@Stability(Stable) public CfnProjectPropsMixin.S3LogsConfigProperty.Builder encryptionDisabled(IResolvable encryptionDisabled) Sets the value ofCfnProjectPropsMixin.S3LogsConfigProperty.getEncryptionDisabled()- Parameters:
encryptionDisabled- Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted.- Returns:
this
-
location
@Stability(Stable) public CfnProjectPropsMixin.S3LogsConfigProperty.Builder location(String location) Sets the value ofCfnProjectPropsMixin.S3LogsConfigProperty.getLocation()- Parameters:
location- The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name ismy-bucket, and your path prefix isbuild-log, then acceptable formats aremy-bucket/build-logorarn:aws:s3:::my-bucket/build-log.- Returns:
this
-
status
Sets the value ofCfnProjectPropsMixin.S3LogsConfigProperty.getStatus()- Parameters:
status- The current status of the S3 build logs. Valid values are:.ENABLED: S3 build logs are enabled for this build project.DISABLED: S3 build logs are not enabled for this build project.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProjectPropsMixin.S3LogsConfigProperty>- Returns:
- a new instance of
CfnProjectPropsMixin.S3LogsConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-