Class CfnBucket.ReplicaModificationsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3.CfnBucket.ReplicaModificationsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucket.ReplicaModificationsProperty>
- Enclosing interface:
CfnBucket.ReplicaModificationsProperty
@Stability(Stable)
public static final class CfnBucket.ReplicaModificationsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucket.ReplicaModificationsProperty>
A builder for
CfnBucket.ReplicaModificationsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnBucket.ReplicaModificationsProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnBucket.ReplicaModificationsProperty.getStatus()
- Parameters:
status
- Specifies whether Amazon S3 replicates modifications on replicas. This parameter is required. Allowed values :Enabled
|Disabled
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBucket.ReplicaModificationsProperty>
- Returns:
- a new instance of
CfnBucket.ReplicaModificationsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-