Class CfnReportGroup.ReportExportConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.CfnReportGroup.ReportExportConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReportGroup.ReportExportConfigProperty>
- Enclosing interface:
CfnReportGroup.ReportExportConfigProperty
@Stability(Stable)
public static final class CfnReportGroup.ReportExportConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReportGroup.ReportExportConfigProperty>
A builder for
CfnReportGroup.ReportExportConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.exportConfigType
(String exportConfigType) Sets the value ofCfnReportGroup.ReportExportConfigProperty.getExportConfigType()
s3Destination
(IResolvable s3Destination) Sets the value ofCfnReportGroup.ReportExportConfigProperty.getS3Destination()
s3Destination
(CfnReportGroup.S3ReportExportConfigProperty s3Destination) Sets the value ofCfnReportGroup.ReportExportConfigProperty.getS3Destination()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
exportConfigType
@Stability(Stable) public CfnReportGroup.ReportExportConfigProperty.Builder exportConfigType(String exportConfigType) Sets the value ofCfnReportGroup.ReportExportConfigProperty.getExportConfigType()
- Parameters:
exportConfigType
- The export configuration type. Valid values are:. This parameter is required.S3
: The report results are exported to an S3 bucket.NO_EXPORT
: The report results are not exported.
- Returns:
this
-
s3Destination
@Stability(Stable) public CfnReportGroup.ReportExportConfigProperty.Builder s3Destination(IResolvable s3Destination) Sets the value ofCfnReportGroup.ReportExportConfigProperty.getS3Destination()
- Parameters:
s3Destination
- AS3ReportExportConfig
object that contains information about the S3 bucket where the run of a report is exported.- Returns:
this
-
s3Destination
@Stability(Stable) public CfnReportGroup.ReportExportConfigProperty.Builder s3Destination(CfnReportGroup.S3ReportExportConfigProperty s3Destination) Sets the value ofCfnReportGroup.ReportExportConfigProperty.getS3Destination()
- Parameters:
s3Destination
- AS3ReportExportConfig
object that contains information about the S3 bucket where the run of a report is exported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReportGroup.ReportExportConfigProperty>
- Returns:
- a new instance of
CfnReportGroup.ReportExportConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-