@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegionInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about a Region in your replication set.
Constructor and Description |
---|
RegionInfo() |
Modifier and Type | Method and Description |
---|---|
RegionInfo |
clone() |
boolean |
equals(Object obj) |
String |
getSseKmsKeyId()
The ID of the KMS key used to encrypt the data in this Region.
|
String |
getStatus()
The status of the Region in the replication set.
|
String |
getStatusMessage()
Information displayed about the status of the Region.
|
Date |
getStatusUpdateDateTime()
The most recent date and time that the Region's status was updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSseKmsKeyId(String sseKmsKeyId)
The ID of the KMS key used to encrypt the data in this Region.
|
void |
setStatus(String status)
The status of the Region in the replication set.
|
void |
setStatusMessage(String statusMessage)
Information displayed about the status of the Region.
|
void |
setStatusUpdateDateTime(Date statusUpdateDateTime)
The most recent date and time that the Region's status was updated.
|
String |
toString()
Returns a string representation of this object.
|
RegionInfo |
withSseKmsKeyId(String sseKmsKeyId)
The ID of the KMS key used to encrypt the data in this Region.
|
RegionInfo |
withStatus(RegionStatus status)
The status of the Region in the replication set.
|
RegionInfo |
withStatus(String status)
The status of the Region in the replication set.
|
RegionInfo |
withStatusMessage(String statusMessage)
Information displayed about the status of the Region.
|
RegionInfo |
withStatusUpdateDateTime(Date statusUpdateDateTime)
The most recent date and time that the Region's status was updated.
|
public void setSseKmsKeyId(String sseKmsKeyId)
The ID of the KMS key used to encrypt the data in this Region.
sseKmsKeyId
- The ID of the KMS key used to encrypt the data in this Region.public String getSseKmsKeyId()
The ID of the KMS key used to encrypt the data in this Region.
public RegionInfo withSseKmsKeyId(String sseKmsKeyId)
The ID of the KMS key used to encrypt the data in this Region.
sseKmsKeyId
- The ID of the KMS key used to encrypt the data in this Region.public void setStatus(String status)
The status of the Region in the replication set.
status
- The status of the Region in the replication set.RegionStatus
public String getStatus()
The status of the Region in the replication set.
RegionStatus
public RegionInfo withStatus(String status)
The status of the Region in the replication set.
status
- The status of the Region in the replication set.RegionStatus
public RegionInfo withStatus(RegionStatus status)
The status of the Region in the replication set.
status
- The status of the Region in the replication set.RegionStatus
public void setStatusMessage(String statusMessage)
Information displayed about the status of the Region.
statusMessage
- Information displayed about the status of the Region.public String getStatusMessage()
Information displayed about the status of the Region.
public RegionInfo withStatusMessage(String statusMessage)
Information displayed about the status of the Region.
statusMessage
- Information displayed about the status of the Region.public void setStatusUpdateDateTime(Date statusUpdateDateTime)
The most recent date and time that the Region's status was updated.
statusUpdateDateTime
- The most recent date and time that the Region's status was updated.public Date getStatusUpdateDateTime()
The most recent date and time that the Region's status was updated.
public RegionInfo withStatusUpdateDateTime(Date statusUpdateDateTime)
The most recent date and time that the Region's status was updated.
statusUpdateDateTime
- The most recent date and time that the Region's status was updated.public String toString()
toString
in class Object
Object.toString()
public RegionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.