Class CfnBucketPropsMixin.ReplicationTimeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3.CfnBucketPropsMixin.ReplicationTimeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBucketPropsMixin.ReplicationTimeProperty>
- Enclosing interface:
CfnBucketPropsMixin.ReplicationTimeProperty
@Stability(Stable)
public static final class CfnBucketPropsMixin.ReplicationTimeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBucketPropsMixin.ReplicationTimeProperty>
A builder for
CfnBucketPropsMixin.ReplicationTimeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnBucketPropsMixin.ReplicationTimeProperty.getStatus()Sets the value ofCfnBucketPropsMixin.ReplicationTimeProperty.getTime()time(IResolvable time) Sets the value ofCfnBucketPropsMixin.ReplicationTimeProperty.getTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
status
Sets the value ofCfnBucketPropsMixin.ReplicationTimeProperty.getStatus()- Parameters:
status- Specifies whether the replication time is enabled.- Returns:
this
-
time
@Stability(Stable) public CfnBucketPropsMixin.ReplicationTimeProperty.Builder time(IResolvable time) Sets the value ofCfnBucketPropsMixin.ReplicationTimeProperty.getTime()- Parameters:
time- A container specifying the time by which replication should be complete for all objects and operations on objects.- Returns:
this
-
time
@Stability(Stable) public CfnBucketPropsMixin.ReplicationTimeProperty.Builder time(CfnBucketPropsMixin.ReplicationTimeValueProperty time) Sets the value ofCfnBucketPropsMixin.ReplicationTimeProperty.getTime()- Parameters:
time- A container specifying the time by which replication should be complete for all objects and operations on objects.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBucketPropsMixin.ReplicationTimeProperty>- Returns:
- a new instance of
CfnBucketPropsMixin.ReplicationTimeProperty - Throws:
NullPointerException- if any required attribute was not provided
-