Class CfnMultiRegionAccessPoint.RegionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnMultiRegionAccessPoint.RegionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMultiRegionAccessPoint.RegionProperty>
- Enclosing interface:
- CfnMultiRegionAccessPoint.RegionProperty
@Stability(Stable)
public static final class CfnMultiRegionAccessPoint.RegionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMultiRegionAccessPoint.RegionProperty>
A builder for
CfnMultiRegionAccessPoint.RegionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnMultiRegionAccessPoint.RegionProperty.getBucket()bucketAccountId(String bucketAccountId) Sets the value ofCfnMultiRegionAccessPoint.RegionProperty.getBucketAccountId()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnMultiRegionAccessPoint.RegionProperty.getBucket()- Parameters:
bucket- The name of the associated bucket for the Region. This parameter is required.- Returns:
this
-
bucketAccountId
@Stability(Stable) public CfnMultiRegionAccessPoint.RegionProperty.Builder bucketAccountId(String bucketAccountId) Sets the value ofCfnMultiRegionAccessPoint.RegionProperty.getBucketAccountId()- Parameters:
bucketAccountId-CfnMultiRegionAccessPoint.RegionProperty.BucketAccountId.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMultiRegionAccessPoint.RegionProperty>- Returns:
- a new instance of
CfnMultiRegionAccessPoint.RegionProperty - Throws:
NullPointerException- if any required attribute was not provided
-