@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() |
boolean |
equals(Object obj) |
String |
getKeyId()
Identifies the current primary key.
|
String |
getPrimaryRegion()
The AWS Region of the new primary key.
|
int |
hashCode() |
void |
setKeyId(String keyId)
Identifies the current primary key.
|
void |
setPrimaryRegion(String primaryRegion)
The AWS 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 AWS Region of the new primary key.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setKeyId(String keyId)
Identifies the current primary key. When the operation completes, this CMK 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 CMK, use ListKeys or DescribeKey.
keyId - Identifies the current primary key. When the operation completes, this CMK 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 CMK, use ListKeys or DescribeKey.
public String getKeyId()
Identifies the current primary key. When the operation completes, this CMK 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 CMK, 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 CMK, use ListKeys or DescribeKey.
public UpdatePrimaryRegionRequest withKeyId(String keyId)
Identifies the current primary key. When the operation completes, this CMK 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 CMK, use ListKeys or DescribeKey.
keyId - Identifies the current primary key. When the operation completes, this CMK 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 CMK, use ListKeys or DescribeKey.
public void setPrimaryRegion(String primaryRegion)
The AWS 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 AWS 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 AWS 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 AWS 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 AWS 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 ObjectObject.toString()public UpdatePrimaryRegionRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.