Class ReplicationStatusType
- java.lang.Object
-
- software.amazon.awssdk.services.secretsmanager.model.ReplicationStatusType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicationStatusType.Builder,ReplicationStatusType>
@Generated("software.amazon.awssdk:codegen") public final class ReplicationStatusType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationStatusType.Builder,ReplicationStatusType>
A replication object consisting of a
RegionReplicationStatusobject and includes a Region, KMSKeyId, status, and status message.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReplicationStatusType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReplicationStatusType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()Can be anARN,Key ID, orAlias.InstantlastAccessedDate()The date that the secret was last accessed in the Region.Stringregion()The Region where replication occurs.List<SdkField<?>>sdkFields()static Class<? extends ReplicationStatusType.Builder>serializableBuilderClass()StatusTypestatus()The status can beInProgress,Failed, orInSync.StringstatusAsString()The status can beInProgress,Failed, orInSync.StringstatusMessage()Status message such as "Secret with this name already exists in this region".ReplicationStatusType.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
region
public final String region()
The Region where replication occurs.
- Returns:
- The Region where replication occurs.
-
kmsKeyId
public final String kmsKeyId()
Can be an
ARN,Key ID, orAlias.- Returns:
- Can be an
ARN,Key ID, orAlias.
-
status
public final StatusType status()
The status can be
InProgress,Failed, orInSync.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status can be
InProgress,Failed, orInSync. - See Also:
StatusType
-
statusAsString
public final String statusAsString()
The status can be
InProgress,Failed, orInSync.If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status can be
InProgress,Failed, orInSync. - See Also:
StatusType
-
statusMessage
public final String statusMessage()
Status message such as "Secret with this name already exists in this region".
- Returns:
- Status message such as "Secret with this name already exists in this region".
-
lastAccessedDate
public final Instant lastAccessedDate()
The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.
- Returns:
- The date that the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.
-
toBuilder
public ReplicationStatusType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicationStatusType.Builder,ReplicationStatusType>
-
builder
public static ReplicationStatusType.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReplicationStatusType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-