Class CfnReportGroup.S3ReportExportConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.CfnReportGroup.S3ReportExportConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportGroup.S3ReportExportConfigProperty>
- Enclosing interface:
CfnReportGroup.S3ReportExportConfigProperty
@Stability(Stable)
public static final class CfnReportGroup.S3ReportExportConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReportGroup.S3ReportExportConfigProperty>
A builder for
CfnReportGroup.S3ReportExportConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnReportGroup.S3ReportExportConfigProperty.getBucket()
bucketOwner
(String bucketOwner) Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getBucketOwner()
build()
Builds the configured instance.encryptionDisabled
(Boolean encryptionDisabled) Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getEncryptionDisabled()
encryptionDisabled
(IResolvable encryptionDisabled) Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getEncryptionDisabled()
encryptionKey
(String encryptionKey) Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getEncryptionKey()
Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getPackaging()
Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getBucket()
- Parameters:
bucket
- The name of the S3 bucket where the raw data of a report are exported. This parameter is required.- Returns:
this
-
bucketOwner
@Stability(Stable) public CfnReportGroup.S3ReportExportConfigProperty.Builder bucketOwner(String bucketOwner) Sets the value ofCfnReportGroup.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 CfnReportGroup.S3ReportExportConfigProperty.Builder encryptionDisabled(Boolean encryptionDisabled) Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getEncryptionDisabled()
- Parameters:
encryptionDisabled
- A boolean value that specifies if the results of a report are encrypted.- Returns:
this
-
encryptionDisabled
@Stability(Stable) public CfnReportGroup.S3ReportExportConfigProperty.Builder encryptionDisabled(IResolvable encryptionDisabled) Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getEncryptionDisabled()
- Parameters:
encryptionDisabled
- A boolean value that specifies if the results of a report are encrypted.- Returns:
this
-
encryptionKey
@Stability(Stable) public CfnReportGroup.S3ReportExportConfigProperty.Builder encryptionKey(String encryptionKey) Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getEncryptionKey()
- Parameters:
encryptionKey
- The encryption key for the report's encrypted raw data.- Returns:
this
-
packaging
@Stability(Stable) public CfnReportGroup.S3ReportExportConfigProperty.Builder packaging(String packaging) Sets the value ofCfnReportGroup.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
Sets the value ofCfnReportGroup.S3ReportExportConfigProperty.getPath()
- Parameters:
path
- The path to the exported report's raw data results.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReportGroup.S3ReportExportConfigProperty>
- Returns:
- a new instance of
CfnReportGroup.S3ReportExportConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-