public static interface GetParametersForImportResponse.Builder extends KMSResponse.Builder, CopyableBuilder<GetParametersForImportResponse.Builder,GetParametersForImportResponse>
Modifier and Type | Method and Description |
---|---|
GetParametersForImportResponse.Builder |
importToken(ByteBuffer importToken)
The import token to send in a subsequent ImportKeyMaterial request.
|
GetParametersForImportResponse.Builder |
keyId(String keyId)
The identifier of the CMK to use in a subsequent ImportKeyMaterial request.
|
GetParametersForImportResponse.Builder |
parametersValidTo(Instant parametersValidTo)
The time at which the import token and public key are no longer valid.
|
GetParametersForImportResponse.Builder |
publicKey(ByteBuffer publicKey)
The public key to use to encrypt the key material before importing it with ImportKeyMaterial.
|
build
sdkHttpResponse, sdkHttpResponse
copy
apply, build
GetParametersForImportResponse.Builder keyId(String keyId)
The identifier of the CMK to use in a subsequent ImportKeyMaterial request. This is the same CMK
specified in the GetParametersForImport
request.
keyId
- The identifier of the CMK to use in a subsequent ImportKeyMaterial request. This is the same
CMK specified in the GetParametersForImport
request.GetParametersForImportResponse.Builder importToken(ByteBuffer importToken)
The import token to send in a subsequent ImportKeyMaterial request.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
importToken
- The import token to send in a subsequent ImportKeyMaterial request.GetParametersForImportResponse.Builder publicKey(ByteBuffer publicKey)
The public key to use to encrypt the key material before importing it with ImportKeyMaterial.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
publicKey
- The public key to use to encrypt the key material before importing it with ImportKeyMaterial.GetParametersForImportResponse.Builder parametersValidTo(Instant parametersValidTo)
The time at which the import token and public key are no longer valid. After this time, you cannot use them
to make an ImportKeyMaterial request and you must send another GetParametersForImport
request to get new ones.
parametersValidTo
- The time at which the import token and public key are no longer valid. After this time, you cannot use
them to make an ImportKeyMaterial request and you must send another
GetParametersForImport
request to get new ones.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.