Interface ReplicationTime.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicationTime.Builder,ReplicationTime>,SdkBuilder<ReplicationTime.Builder,ReplicationTime>,SdkPojo
- Enclosing class:
- ReplicationTime
@Mutable @NotThreadSafe public static interface ReplicationTime.Builder extends SdkPojo, CopyableBuilder<ReplicationTime.Builder,ReplicationTime>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ReplicationTime.Builderstatus(String status)Specifies whether the replication time is enabled.ReplicationTime.Builderstatus(ReplicationTimeStatus status)Specifies whether the replication time is enabled.default ReplicationTime.Buildertime(Consumer<ReplicationTimeValue.Builder> time)A container specifying the time by which replication should be complete for all objects and operations on objects.ReplicationTime.Buildertime(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
status
ReplicationTime.Builder status(String 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:
ReplicationTimeStatus,ReplicationTimeStatus
-
status
ReplicationTime.Builder status(ReplicationTimeStatus 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:
ReplicationTimeStatus,ReplicationTimeStatus
-
time
ReplicationTime.Builder time(ReplicationTimeValue 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
default ReplicationTime.Builder time(Consumer<ReplicationTimeValue.Builder> 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:
time(ReplicationTimeValue)
-
-