CopyableBuilder<GetParametersForImportResponse.Builder,GetParametersForImportResponse>
, SdkBuilder<GetParametersForImportResponse.Builder,GetParametersForImportResponse>
public static interface GetParametersForImportResponse.Builder extends CopyableBuilder<GetParametersForImportResponse.Builder,GetParametersForImportResponse>
Modifier and Type | Method | 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(Date 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.
|
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.
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.
publicKey
- The public key to use to encrypt the key material before importing it with ImportKeyMaterial.GetParametersForImportResponse.Builder parametersValidTo(Date 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 retrieve 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 retrieve new ones.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.