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