Class CfnMultiRegionAccessPointPolicyProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnMultiRegionAccessPointPolicyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMultiRegionAccessPointPolicyProps>
- Enclosing interface:
CfnMultiRegionAccessPointPolicyProps
@Stability(Stable)
public static final class CfnMultiRegionAccessPointPolicyProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMultiRegionAccessPointPolicyProps>
A builder for
CfnMultiRegionAccessPointPolicyProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnMultiRegionAccessPointPolicyProps.getMrapName()
Sets the value ofCfnMultiRegionAccessPointPolicyProps.getPolicy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mrapName
Sets the value ofCfnMultiRegionAccessPointPolicyProps.getMrapName()
- Parameters:
mrapName
- The name of the Multi-Region Access Point. This parameter is required.- Returns:
this
-
policy
Sets the value ofCfnMultiRegionAccessPointPolicyProps.getPolicy()
- Parameters:
policy
- The access policy associated with the Multi-Region Access Point. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMultiRegionAccessPointPolicyProps>
- Returns:
- a new instance of
CfnMultiRegionAccessPointPolicyProps
- Throws:
NullPointerException
- if any required attribute was not provided
-