Class CfnPlan.S3ReportOutputConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.S3ReportOutputConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.S3ReportOutputConfigurationProperty>
- Enclosing interface:
CfnPlan.S3ReportOutputConfigurationProperty
@Stability(Stable)
public static final class CfnPlan.S3ReportOutputConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.S3ReportOutputConfigurationProperty>
A builder for
CfnPlan.S3ReportOutputConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketOwner(String bucketOwner) Sets the value ofCfnPlan.S3ReportOutputConfigurationProperty.getBucketOwner()bucketPath(String bucketPath) Sets the value ofCfnPlan.S3ReportOutputConfigurationProperty.getBucketPath()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketOwner
@Stability(Stable) public CfnPlan.S3ReportOutputConfigurationProperty.Builder bucketOwner(String bucketOwner) Sets the value ofCfnPlan.S3ReportOutputConfigurationProperty.getBucketOwner()- Parameters:
bucketOwner- The AWS account ID that owns the S3 bucket. Required to ensure the bucket is still owned by the same expected owner at generation time.- Returns:
this
-
bucketPath
@Stability(Stable) public CfnPlan.S3ReportOutputConfigurationProperty.Builder bucketPath(String bucketPath) Sets the value ofCfnPlan.S3ReportOutputConfigurationProperty.getBucketPath()- Parameters:
bucketPath- The S3 bucket name and optional prefix where reports are stored. Format: bucket-name or bucket-name/prefix.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlan.S3ReportOutputConfigurationProperty>- Returns:
- a new instance of
CfnPlan.S3ReportOutputConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-