@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicationStatusType extends Object implements Serializable, Cloneable, StructuredPojo
A replication object consisting of a RegionReplicationStatus object and includes a Region, KMSKeyId,
status, and status message.
| Constructor and Description |
|---|
ReplicationStatusType() |
| Modifier and Type | Method and Description |
|---|---|
ReplicationStatusType |
clone() |
boolean |
equals(Object obj) |
String |
getKmsKeyId()
Can be an
ARN, Key ID, or Alias. |
Date |
getLastAccessedDate()
The date that you last accessed the secret in the Region.
|
String |
getRegion()
The Region where replication occurs.
|
String |
getStatus()
The status can be
InProgress, Failed, or InSync. |
String |
getStatusMessage()
Status message such as "Secret with this name already exists in this region".
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKmsKeyId(String kmsKeyId)
Can be an
ARN, Key ID, or Alias. |
void |
setLastAccessedDate(Date lastAccessedDate)
The date that you last accessed the secret in the Region.
|
void |
setRegion(String region)
The Region where replication occurs.
|
void |
setStatus(String status)
The status can be
InProgress, Failed, or InSync. |
void |
setStatusMessage(String statusMessage)
Status message such as "Secret with this name already exists in this region".
|
String |
toString()
Returns a string representation of this object.
|
ReplicationStatusType |
withKmsKeyId(String kmsKeyId)
Can be an
ARN, Key ID, or Alias. |
ReplicationStatusType |
withLastAccessedDate(Date lastAccessedDate)
The date that you last accessed the secret in the Region.
|
ReplicationStatusType |
withRegion(String region)
The Region where replication occurs.
|
ReplicationStatusType |
withStatus(StatusType status)
The status can be
InProgress, Failed, or InSync. |
ReplicationStatusType |
withStatus(String status)
The status can be
InProgress, Failed, or InSync. |
ReplicationStatusType |
withStatusMessage(String statusMessage)
Status message such as "Secret with this name already exists in this region".
|
public void setRegion(String region)
The Region where replication occurs.
region - The Region where replication occurs.public String getRegion()
The Region where replication occurs.
public ReplicationStatusType withRegion(String region)
The Region where replication occurs.
region - The Region where replication occurs.public void setKmsKeyId(String kmsKeyId)
Can be an ARN, Key ID, or Alias.
kmsKeyId - Can be an ARN, Key ID, or Alias.public String getKmsKeyId()
Can be an ARN, Key ID, or Alias.
ARN, Key ID, or Alias.public ReplicationStatusType withKmsKeyId(String kmsKeyId)
Can be an ARN, Key ID, or Alias.
kmsKeyId - Can be an ARN, Key ID, or Alias.public void setStatus(String status)
The status can be InProgress, Failed, or InSync.
status - The status can be InProgress, Failed, or InSync.StatusTypepublic String getStatus()
The status can be InProgress, Failed, or InSync.
InProgress, Failed, or InSync.StatusTypepublic ReplicationStatusType withStatus(String status)
The status can be InProgress, Failed, or InSync.
status - The status can be InProgress, Failed, or InSync.StatusTypepublic ReplicationStatusType withStatus(StatusType status)
The status can be InProgress, Failed, or InSync.
status - The status can be InProgress, Failed, or InSync.StatusTypepublic void setStatusMessage(String statusMessage)
Status message such as "Secret with this name already exists in this region".
statusMessage - Status message such as "Secret with this name already exists in this region".public String getStatusMessage()
Status message such as "Secret with this name already exists in this region".
public ReplicationStatusType withStatusMessage(String statusMessage)
Status message such as "Secret with this name already exists in this region".
statusMessage - Status message such as "Secret with this name already exists in this region".public void setLastAccessedDate(Date lastAccessedDate)
The date that you last accessed the secret in the Region.
lastAccessedDate - The date that you last accessed the secret in the Region.public Date getLastAccessedDate()
The date that you last accessed the secret in the Region.
public ReplicationStatusType withLastAccessedDate(Date lastAccessedDate)
The date that you last accessed the secret in the Region.
lastAccessedDate - The date that you last accessed the secret in the Region.public String toString()
toString in class ObjectObject.toString()public ReplicationStatusType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.