Class CfnMultiRegionAccessPointPropsMixin.RegionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnMultiRegionAccessPointPropsMixin.RegionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMultiRegionAccessPointPropsMixin.RegionProperty>
- Enclosing interface:
CfnMultiRegionAccessPointPropsMixin.RegionProperty
@Stability(Stable)
public static final class CfnMultiRegionAccessPointPropsMixin.RegionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMultiRegionAccessPointPropsMixin.RegionProperty>
A builder for
CfnMultiRegionAccessPointPropsMixin.RegionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnMultiRegionAccessPointPropsMixin.RegionProperty.getBucket()bucketAccountId(String bucketAccountId) Sets the value ofCfnMultiRegionAccessPointPropsMixin.RegionProperty.getBucketAccountId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnMultiRegionAccessPointPropsMixin.RegionProperty.Builder bucket(String bucket) Sets the value ofCfnMultiRegionAccessPointPropsMixin.RegionProperty.getBucket()- Parameters:
bucket- The name of the associated bucket for the Region.- Returns:
this
-
bucketAccountId
@Stability(Stable) public CfnMultiRegionAccessPointPropsMixin.RegionProperty.Builder bucketAccountId(String bucketAccountId) Sets the value ofCfnMultiRegionAccessPointPropsMixin.RegionProperty.getBucketAccountId()- Parameters:
bucketAccountId- The AWS account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMultiRegionAccessPointPropsMixin.RegionProperty>- Returns:
- a new instance of
CfnMultiRegionAccessPointPropsMixin.RegionProperty - Throws:
NullPointerException- if any required attribute was not provided
-