Interface ReplicationTime.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicationTime.Builder,,ReplicationTime> SdkBuilder<ReplicationTime.Builder,,ReplicationTime> SdkPojo
- Enclosing class:
ReplicationTime
public static interface ReplicationTime.Builder
extends SdkPojo, CopyableBuilder<ReplicationTime.Builder,ReplicationTime>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether the replication time is enabled.status(ReplicationTimeStatus status) Specifies whether the replication time is enabled.default ReplicationTime.BuilderA container specifying the time by which replication should be complete for all objects and operations on objects.time(ReplicationTimeValue time) A container specifying the time by which replication should be complete for all objects and operations on objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
Specifies whether the replication time is enabled.
- Parameters:
status- Specifies whether the replication time is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Specifies whether the replication time is enabled.
- Parameters:
status- Specifies whether the replication time is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
time
A container specifying the time by which replication should be complete for all objects and operations on objects.
- Parameters:
time- A container specifying the time by which replication should be complete for all objects and operations on objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
time
A container specifying the time by which replication should be complete for all objects and operations on objects.
This is a convenience method that creates an instance of theReplicationTimeValue.Builderavoiding the need to create one manually viaReplicationTimeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totime(ReplicationTimeValue).- Parameters:
time- a consumer that will call methods onReplicationTimeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-