@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 the secret was last accessed 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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setKmsKeyId(String kmsKeyId)
Can be an
ARN , Key ID , or Alias . |
void |
setLastAccessedDate(Date lastAccessedDate)
The date that the secret was last accessed 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 the secret was last accessed 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
.StatusType
public String getStatus()
The status can be InProgress
, Failed
, or InSync
.
InProgress
, Failed
, or InSync
.StatusType
public ReplicationStatusType withStatus(String status)
The status can be InProgress
, Failed
, or InSync
.
status
- The status can be InProgress
, Failed
, or InSync
.StatusType
public ReplicationStatusType withStatus(StatusType status)
The status can be InProgress
, Failed
, or InSync
.
status
- The status can be InProgress
, Failed
, or InSync
.StatusType
public 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 the secret was last accessed in the Region. This field is omitted if the secret has never been retrieved in the Region.
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.public Date getLastAccessedDate()
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.
public ReplicationStatusType withLastAccessedDate(Date 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.
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.public String toString()
toString
in class Object
Object.toString()
public ReplicationStatusType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.