@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePrimaryRegionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePrimaryRegionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePrimaryRegionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKeyId()
Identifies the current primary key.
|
String |
getPrimaryRegion()
The Amazon Web Services Region of the new primary key.
|
int |
hashCode() |
void |
setKeyId(String keyId)
Identifies the current primary key.
|
void |
setPrimaryRegion(String primaryRegion)
The Amazon Web Services Region of the new primary key.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePrimaryRegionRequest |
withKeyId(String keyId)
Identifies the current primary key.
|
UpdatePrimaryRegionRequest |
withPrimaryRegion(String primaryRegion)
The Amazon Web Services Region of the new primary key.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setKeyId(String keyId)
Identifies the current primary key. When the operation completes, this KMS key will be a replica key.
Specify the key ID or key ARN of a multi-Region primary key.
For example:
Key ID: mrk-1234abcd12ab34cd56ef1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/mrk-1234abcd12ab34cd56ef1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
keyId
- Identifies the current primary key. When the operation completes, this KMS key will be a replica key.
Specify the key ID or key ARN of a multi-Region primary key.
For example:
Key ID: mrk-1234abcd12ab34cd56ef1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/mrk-1234abcd12ab34cd56ef1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
public String getKeyId()
Identifies the current primary key. When the operation completes, this KMS key will be a replica key.
Specify the key ID or key ARN of a multi-Region primary key.
For example:
Key ID: mrk-1234abcd12ab34cd56ef1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/mrk-1234abcd12ab34cd56ef1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
Specify the key ID or key ARN of a multi-Region primary key.
For example:
Key ID: mrk-1234abcd12ab34cd56ef1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/mrk-1234abcd12ab34cd56ef1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
public UpdatePrimaryRegionRequest withKeyId(String keyId)
Identifies the current primary key. When the operation completes, this KMS key will be a replica key.
Specify the key ID or key ARN of a multi-Region primary key.
For example:
Key ID: mrk-1234abcd12ab34cd56ef1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/mrk-1234abcd12ab34cd56ef1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
keyId
- Identifies the current primary key. When the operation completes, this KMS key will be a replica key.
Specify the key ID or key ARN of a multi-Region primary key.
For example:
Key ID: mrk-1234abcd12ab34cd56ef1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/mrk-1234abcd12ab34cd56ef1234567890ab
To get the key ID and key ARN for a KMS key, use ListKeys or DescribeKey.
public void setPrimaryRegion(String primaryRegion)
The Amazon Web Services Region of the new primary key. Enter the Region ID, such as us-east-1
or
ap-southeast-2
. There must be an existing replica key in this Region.
When the operation completes, the multi-Region key in this Region will be the primary key.
primaryRegion
- The Amazon Web Services Region of the new primary key. Enter the Region ID, such as us-east-1
or ap-southeast-2
. There must be an existing replica key in this Region.
When the operation completes, the multi-Region key in this Region will be the primary key.
public String getPrimaryRegion()
The Amazon Web Services Region of the new primary key. Enter the Region ID, such as us-east-1
or
ap-southeast-2
. There must be an existing replica key in this Region.
When the operation completes, the multi-Region key in this Region will be the primary key.
us-east-1
or ap-southeast-2
. There must be an existing replica key in this
Region.
When the operation completes, the multi-Region key in this Region will be the primary key.
public UpdatePrimaryRegionRequest withPrimaryRegion(String primaryRegion)
The Amazon Web Services Region of the new primary key. Enter the Region ID, such as us-east-1
or
ap-southeast-2
. There must be an existing replica key in this Region.
When the operation completes, the multi-Region key in this Region will be the primary key.
primaryRegion
- The Amazon Web Services Region of the new primary key. Enter the Region ID, such as us-east-1
or ap-southeast-2
. There must be an existing replica key in this Region.
When the operation completes, the multi-Region key in this Region will be the primary key.
public String toString()
toString
in class Object
Object.toString()
public UpdatePrimaryRegionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()