Class CfnMultiRegionAccessPointProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnMultiRegionAccessPointProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMultiRegionAccessPointProps>
- Enclosing interface:
CfnMultiRegionAccessPointProps
@Stability(Stable)
public static final class CfnMultiRegionAccessPointProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMultiRegionAccessPointProps>
A builder for
CfnMultiRegionAccessPointProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnMultiRegionAccessPointProps.getName()
publicAccessBlockConfiguration
(IResolvable publicAccessBlockConfiguration) Sets the value ofCfnMultiRegionAccessPointProps.getPublicAccessBlockConfiguration()
publicAccessBlockConfiguration
(CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration) Sets the value ofCfnMultiRegionAccessPointProps.getPublicAccessBlockConfiguration()
Sets the value ofCfnMultiRegionAccessPointProps.getRegions()
regions
(IResolvable regions) Sets the value ofCfnMultiRegionAccessPointProps.getRegions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
regions
Sets the value ofCfnMultiRegionAccessPointProps.getRegions()
- Parameters:
regions
- A collection of the Regions and buckets associated with the Multi-Region Access Point. This parameter is required.- Returns:
this
-
regions
@Stability(Stable) public CfnMultiRegionAccessPointProps.Builder regions(List<? extends Object> regions) Sets the value ofCfnMultiRegionAccessPointProps.getRegions()
- Parameters:
regions
- A collection of the Regions and buckets associated with the Multi-Region Access Point. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnMultiRegionAccessPointProps.getName()
- Parameters:
name
- The name of the Multi-Region Access Point.- Returns:
this
-
publicAccessBlockConfiguration
@Stability(Stable) public CfnMultiRegionAccessPointProps.Builder publicAccessBlockConfiguration(IResolvable publicAccessBlockConfiguration) Sets the value ofCfnMultiRegionAccessPointProps.getPublicAccessBlockConfiguration()
- Parameters:
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 .- Returns:
this
-
publicAccessBlockConfiguration
@Stability(Stable) public CfnMultiRegionAccessPointProps.Builder publicAccessBlockConfiguration(CfnMultiRegionAccessPoint.PublicAccessBlockConfigurationProperty publicAccessBlockConfiguration) Sets the value ofCfnMultiRegionAccessPointProps.getPublicAccessBlockConfiguration()
- Parameters:
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 .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMultiRegionAccessPointProps>
- Returns:
- a new instance of
CfnMultiRegionAccessPointProps
- Throws:
NullPointerException
- if any required attribute was not provided
-