@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePrimaryRegionRequest extends KmsRequest implements ToCopyableBuilder<UpdatePrimaryRegionRequest.Builder,UpdatePrimaryRegionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePrimaryRegionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePrimaryRegionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyId()
Identifies the current primary key.
|
String |
primaryRegion()
The Amazon Web Services Region of the new primary key.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdatePrimaryRegionRequest.Builder> |
serializableBuilderClass() |
UpdatePrimaryRegionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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 final 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePrimaryRegionRequest.Builder,UpdatePrimaryRegionRequest>toBuilder in class KmsRequestpublic static UpdatePrimaryRegionRequest.Builder builder()
public static Class<? extends UpdatePrimaryRegionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.