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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetParametersForImportRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.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.
|
build
overrideConfiguration
copy
applyMutation, build
GetParametersForImportRequest.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
,
AlgorithmSpec
GetParametersForImportRequest.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
,
AlgorithmSpec
GetParametersForImportRequest.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
,
WrappingKeySpec
GetParametersForImportRequest.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
,
WrappingKeySpec
GetParametersForImportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetParametersForImportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.