Class CfnMultiRegionAccessPoint.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnMultiRegionAccessPoint.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMultiRegionAccessPoint>
- Enclosing class:
- CfnMultiRegionAccessPoint
@Stability(Stable)
public static final class CfnMultiRegionAccessPoint.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMultiRegionAccessPoint>
A fluent builder for
CfnMultiRegionAccessPoint
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The name of the Multi-Region Access Point.publicAccessBlockConfiguration
(IResolvable publicAccessBlockConfiguration) The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.publicAccessBlockConfiguration
(CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration) The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.A collection of the Regions and buckets associated with the Multi-Region Access Point.regions
(IResolvable regions) A collection of the Regions and buckets associated with the Multi-Region Access Point.
-
Method Details
-
create
@Stability(Stable) public static CfnMultiRegionAccessPoint.Builder create(Construct scope, String id) - Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnMultiRegionAccessPoint.Builder
.
-
regions
A collection of the Regions and buckets associated with the Multi-Region Access Point.- Parameters:
regions
- A collection of the Regions and buckets associated with the Multi-Region Access Point. This parameter is required.- Returns:
this
-
regions
A collection of the Regions and buckets associated with the Multi-Region Access Point.- Parameters:
regions
- A collection of the Regions and buckets associated with the Multi-Region Access Point. This parameter is required.- Returns:
this
-
name
The name of the Multi-Region Access Point.- Parameters:
name
- The name of the Multi-Region Access Point. This parameter is required.- Returns:
this
-
publicAccessBlockConfiguration
@Stability(Stable) public CfnMultiRegionAccessPoint.Builder publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration) The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.You can enable the configuration options in any combination. For more information about when Amazon S3 considers an object public, see The Meaning of "Public" in the Amazon S3 User Guide .
- Parameters:
publicAccessBlockConfiguration
- The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point. This parameter is required.- Returns:
this
-
publicAccessBlockConfiguration
@Stability(Stable) public CfnMultiRegionAccessPoint.Builder publicAccessBlockConfiguration(CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration) The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point.You can enable the configuration options in any combination. For more information about when Amazon S3 considers an object public, see The Meaning of "Public" in the Amazon S3 User Guide .
- Parameters:
publicAccessBlockConfiguration
- The PublicAccessBlock configuration that you want to apply to this Multi-Region Access Point. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMultiRegionAccessPoint>
- Returns:
- a newly built instance of
CfnMultiRegionAccessPoint
.
-