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 S3 Replication Time Control (S3 RTC) is enabled.status(ReplicationTimeStatus status) Specifies whether S3 Replication Time Control (S3 RTC) is enabled.default ReplicationTime.BuilderA container that specifies the time by which replication should be complete for all objects and operations on objects.time(ReplicationTimeValue time) A container that specifies 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, sdkFields
-
Method Details
-
status
Specifies whether S3 Replication Time Control (S3 RTC) is enabled.
- Parameters:
status- Specifies whether S3 Replication Time Control (S3 RTC) is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Specifies whether S3 Replication Time Control (S3 RTC) is enabled.
- Parameters:
status- Specifies whether S3 Replication Time Control (S3 RTC) is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
time
A container that specifies the time by which replication should be complete for all objects and operations on objects.
- Parameters:
time- A container that specifies 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 that specifies 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:
-