Class ReplicationTime
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicationTime.Builder,ReplicationTime>
A container specifying S3 Replication Time Control (S3 RTC) related information, including whether S3 RTC is enabled
and the time when all objects and operations on objects must be replicated. Must be specified together with a
Metrics block.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplicationTime.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends ReplicationTime.Builder>final ReplicationTimeStatusstatus()Specifies whether the replication time is enabled.final StringSpecifies whether the replication time is enabled.final ReplicationTimeValuetime()A container specifying the time by which replication should be complete for all objects and operations on objects.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
status
Specifies whether the replication time is enabled.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReplicationTimeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Specifies whether the replication time is enabled.
- See Also:
-
statusAsString
Specifies whether the replication time is enabled.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReplicationTimeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Specifies whether the replication time is enabled.
- See Also:
-
time
A container specifying the time by which replication should be complete for all objects and operations on objects.
- Returns:
- A container specifying the time by which replication should be complete for all objects and operations on objects.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicationTime.Builder,ReplicationTime>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-