Class CfnReportGroupPropsMixin.S3ReportExportConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codebuild.CfnReportGroupPropsMixin.S3ReportExportConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportGroupPropsMixin.S3ReportExportConfigProperty>
- Enclosing interface:
CfnReportGroupPropsMixin.S3ReportExportConfigProperty
@Stability(Stable)
public static final class CfnReportGroupPropsMixin.S3ReportExportConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReportGroupPropsMixin.S3ReportExportConfigProperty>
A builder for
CfnReportGroupPropsMixin.S3ReportExportConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnReportGroupPropsMixin.S3ReportExportConfigProperty.getBucket()bucketOwner(String bucketOwner) Sets the value ofCfnReportGroupPropsMixin.S3ReportExportConfigProperty.getBucketOwner()build()Builds the configured instance.encryptionDisabled(Boolean encryptionDisabled) encryptionDisabled(IResolvable encryptionDisabled) encryptionKey(String encryptionKey) Sets the value ofCfnReportGroupPropsMixin.S3ReportExportConfigProperty.getEncryptionKey()Sets the value ofCfnReportGroupPropsMixin.S3ReportExportConfigProperty.getPackaging()Sets the value ofCfnReportGroupPropsMixin.S3ReportExportConfigProperty.getPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnReportGroupPropsMixin.S3ReportExportConfigProperty.Builder bucket(String bucket) Sets the value ofCfnReportGroupPropsMixin.S3ReportExportConfigProperty.getBucket()- Parameters:
bucket- The name of the S3 bucket where the raw data of a report are exported.- Returns:
this
-
bucketOwner
@Stability(Stable) public CfnReportGroupPropsMixin.S3ReportExportConfigProperty.Builder bucketOwner(String bucketOwner) Sets the value ofCfnReportGroupPropsMixin.S3ReportExportConfigProperty.getBucketOwner()- Parameters:
bucketOwner- The AWS account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.- Returns:
this
-
encryptionDisabled
@Stability(Stable) public CfnReportGroupPropsMixin.S3ReportExportConfigProperty.Builder encryptionDisabled(Boolean encryptionDisabled) - Parameters:
encryptionDisabled- A boolean value that specifies if the results of a report are encrypted.- Returns:
this
-
encryptionDisabled
@Stability(Stable) public CfnReportGroupPropsMixin.S3ReportExportConfigProperty.Builder encryptionDisabled(IResolvable encryptionDisabled) - Parameters:
encryptionDisabled- A boolean value that specifies if the results of a report are encrypted.- Returns:
this
-
encryptionKey
@Stability(Stable) public CfnReportGroupPropsMixin.S3ReportExportConfigProperty.Builder encryptionKey(String encryptionKey) Sets the value ofCfnReportGroupPropsMixin.S3ReportExportConfigProperty.getEncryptionKey()- Parameters:
encryptionKey- The encryption key for the report's encrypted raw data.- Returns:
this
-
packaging
@Stability(Stable) public CfnReportGroupPropsMixin.S3ReportExportConfigProperty.Builder packaging(String packaging) Sets the value ofCfnReportGroupPropsMixin.S3ReportExportConfigProperty.getPackaging()- Parameters:
packaging- The type of build output artifact to create. Valid values include:.NONE: CodeBuild creates the raw data in the output bucket. This is the default if packaging is not specified.ZIP: CodeBuild creates a ZIP file with the raw data in the output bucket.
- Returns:
this
-
path
@Stability(Stable) public CfnReportGroupPropsMixin.S3ReportExportConfigProperty.Builder path(String path) Sets the value ofCfnReportGroupPropsMixin.S3ReportExportConfigProperty.getPath()- Parameters:
path- The path to the exported report's raw data results.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnReportGroupPropsMixin.S3ReportExportConfigProperty>- Returns:
- a new instance of
CfnReportGroupPropsMixin.S3ReportExportConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-