@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MultiRegionKey extends Object implements Serializable, Cloneable, StructuredPojo
Describes the primary or replica key in a multi-Region key.
| Constructor and Description |
|---|
MultiRegionKey() |
| Modifier and Type | Method and Description |
|---|---|
MultiRegionKey |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Displays the key ARN of a primary or replica key of a multi-Region key.
|
String |
getRegion()
Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
Displays the key ARN of a primary or replica key of a multi-Region key.
|
void |
setRegion(String region)
Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.
|
String |
toString()
Returns a string representation of this object.
|
MultiRegionKey |
withArn(String arn)
Displays the key ARN of a primary or replica key of a multi-Region key.
|
MultiRegionKey |
withRegion(String region)
Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.
|
public void setArn(String arn)
Displays the key ARN of a primary or replica key of a multi-Region key.
arn - Displays the key ARN of a primary or replica key of a multi-Region key.public String getArn()
Displays the key ARN of a primary or replica key of a multi-Region key.
public MultiRegionKey withArn(String arn)
Displays the key ARN of a primary or replica key of a multi-Region key.
arn - Displays the key ARN of a primary or replica key of a multi-Region key.public void setRegion(String region)
Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.
region - Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.public String getRegion()
Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.
public MultiRegionKey withRegion(String region)
Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.
region - Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.public String toString()
toString in class ObjectObject.toString()public MultiRegionKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.