@Generated(value="software.amazon.awssdk:codegen") public final class ReplicationStatusType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationStatusType.Builder,ReplicationStatusType>
A replication object consisting of a RegionReplicationStatus
object and includes a Region, KMSKeyId,
status, and status message.
Modifier and Type | Class and Description |
---|---|
static interface |
ReplicationStatusType.Builder |
Modifier and Type | Method and Description |
---|---|
static ReplicationStatusType.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
Can be an
ARN , Key ID , or Alias . |
Instant |
lastAccessedDate()
The date that you last accessed the secret in the Region.
|
String |
region()
The Region where replication occurs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReplicationStatusType.Builder> |
serializableBuilderClass() |
StatusType |
status()
The status can be
InProgress , Failed , or InSync . |
String |
statusAsString()
The status can be
InProgress , Failed , or InSync . |
String |
statusMessage()
Status message such as "Secret with this name already exists in this region".
|
ReplicationStatusType.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String region()
The Region where replication occurs.
public final String kmsKeyId()
Can be an ARN
, Key ID
, or Alias
.
ARN
, Key ID
, or Alias
.public final StatusType status()
The status can be InProgress
, Failed
, or InSync
.
If the service returns an enum value that is not available in the current SDK version, status
will
return StatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
InProgress
, Failed
, or InSync
.StatusType
public final String statusAsString()
The status can be InProgress
, Failed
, or InSync
.
If the service returns an enum value that is not available in the current SDK version, status
will
return StatusType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
InProgress
, Failed
, or InSync
.StatusType
public final String statusMessage()
Status message such as "Secret with this name already exists in this region".
public final Instant lastAccessedDate()
The date that you last accessed the secret in the Region.
public ReplicationStatusType.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReplicationStatusType.Builder,ReplicationStatusType>
public static ReplicationStatusType.Builder builder()
public static Class<? extends ReplicationStatusType.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()