public static interface GetParametersForImportRequest.Builder extends KMSRequest.Builder, CopyableBuilder<GetParametersForImportRequest.Builder,GetParametersForImportRequest>
| Modifier and Type | Method and Description |
|---|---|
GetParametersForImportRequest.Builder |
keyId(String keyId)
The identifier of the CMK into which you will import key material.
|
GetParametersForImportRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
GetParametersForImportRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
GetParametersForImportRequest.Builder |
wrappingAlgorithm(AlgorithmSpec wrappingAlgorithm)
The algorithm you will use to encrypt the key material before importing it with ImportKeyMaterial.
|
GetParametersForImportRequest.Builder |
wrappingAlgorithm(String wrappingAlgorithm)
The algorithm you will use to encrypt the key material before importing it with ImportKeyMaterial.
|
GetParametersForImportRequest.Builder |
wrappingKeySpec(String wrappingKeySpec)
The type of wrapping key (public key) to return in the response.
|
GetParametersForImportRequest.Builder |
wrappingKeySpec(WrappingKeySpec wrappingKeySpec)
The type of wrapping key (public key) to return in the response.
|
buildrequestOverrideConfigcopyapply, buildGetParametersForImportRequest.Builder keyId(String keyId)
The identifier of the CMK into which you will import key material. The CMK's Origin must be
EXTERNAL.
Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
keyId - The identifier of the CMK into which you will import key material. The CMK's Origin must
be EXTERNAL.
Specify the key ID or the Amazon Resource Name (ARN) of the CMK.
For example:
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
GetParametersForImportRequest.Builder wrappingAlgorithm(String wrappingAlgorithm)
The algorithm you will use to encrypt the key material before importing it with ImportKeyMaterial. For more information, see Encrypt the Key Material in the AWS Key Management Service Developer Guide.
wrappingAlgorithm - The algorithm you will use to encrypt the key material before importing it with
ImportKeyMaterial. For more information, see Encrypt the Key Material in the AWS Key Management Service Developer Guide.AlgorithmSpec,
AlgorithmSpecGetParametersForImportRequest.Builder wrappingAlgorithm(AlgorithmSpec wrappingAlgorithm)
The algorithm you will use to encrypt the key material before importing it with ImportKeyMaterial. For more information, see Encrypt the Key Material in the AWS Key Management Service Developer Guide.
wrappingAlgorithm - The algorithm you will use to encrypt the key material before importing it with
ImportKeyMaterial. For more information, see Encrypt the Key Material in the AWS Key Management Service Developer Guide.AlgorithmSpec,
AlgorithmSpecGetParametersForImportRequest.Builder wrappingKeySpec(String wrappingKeySpec)
The type of wrapping key (public key) to return in the response. Only 2048-bit RSA public keys are supported.
wrappingKeySpec - The type of wrapping key (public key) to return in the response. Only 2048-bit RSA public keys are
supported.WrappingKeySpec,
WrappingKeySpecGetParametersForImportRequest.Builder wrappingKeySpec(WrappingKeySpec wrappingKeySpec)
The type of wrapping key (public key) to return in the response. Only 2048-bit RSA public keys are supported.
wrappingKeySpec - The type of wrapping key (public key) to return in the response. Only 2048-bit RSA public keys are
supported.WrappingKeySpec,
WrappingKeySpecGetParametersForImportRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.GetParametersForImportRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.