Class CfnMultiRegionAccessPointPolicy.PolicyStatusProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnMultiRegionAccessPointPolicy.PolicyStatusProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMultiRegionAccessPointPolicy.PolicyStatusProperty>
- Enclosing interface:
CfnMultiRegionAccessPointPolicy.PolicyStatusProperty
@Stability(Stable)
public static final class CfnMultiRegionAccessPointPolicy.PolicyStatusProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMultiRegionAccessPointPolicy.PolicyStatusProperty>
A builder for
CfnMultiRegionAccessPointPolicy.PolicyStatusProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnMultiRegionAccessPointPolicy.PolicyStatusProperty.getIsPublic()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isPublic
@Stability(Stable) public CfnMultiRegionAccessPointPolicy.PolicyStatusProperty.Builder isPublic(String isPublic) Sets the value ofCfnMultiRegionAccessPointPolicy.PolicyStatusProperty.getIsPublic()
- Parameters:
isPublic
- The policy status for this bucket. This parameter is required.TRUE
indicates that this bucket is public.FALSE
indicates that the bucket is not public.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMultiRegionAccessPointPolicy.PolicyStatusProperty>
- Returns:
- a new instance of
CfnMultiRegionAccessPointPolicy.PolicyStatusProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-