Interface UpdatePrimaryRegionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdatePrimaryRegionRequest.Builder,UpdatePrimaryRegionRequest>
,KmsRequest.Builder
,SdkBuilder<UpdatePrimaryRegionRequest.Builder,UpdatePrimaryRegionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdatePrimaryRegionRequest
public static interface UpdatePrimaryRegionRequest.Builder extends KmsRequest.Builder, SdkPojo, CopyableBuilder<UpdatePrimaryRegionRequest.Builder,UpdatePrimaryRegionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePrimaryRegionRequest.Builder
keyId(String keyId)
Identifies the current primary key.UpdatePrimaryRegionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdatePrimaryRegionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UpdatePrimaryRegionRequest.Builder
primaryRegion(String primaryRegion)
The Amazon Web Services Region of the new primary key.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kms.model.KmsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
keyId
UpdatePrimaryRegionRequest.Builder keyId(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
primaryRegion
UpdatePrimaryRegionRequest.Builder primaryRegion(String primaryRegion)
The Amazon Web Services Region of the new primary key. Enter the Region ID, such as
us-east-1
orap-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.
- Parameters:
primaryRegion
- The Amazon Web Services Region of the new primary key. Enter the Region ID, such asus-east-1
orap-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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdatePrimaryRegionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePrimaryRegionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-