CopyableBuilder<GenerateDataKeyResponse.Builder,GenerateDataKeyResponse>
, SdkBuilder<GenerateDataKeyResponse.Builder,GenerateDataKeyResponse>
public static interface GenerateDataKeyResponse.Builder extends CopyableBuilder<GenerateDataKeyResponse.Builder,GenerateDataKeyResponse>
Modifier and Type | Method | Description |
---|---|---|
GenerateDataKeyResponse.Builder |
ciphertextBlob(ByteBuffer ciphertextBlob) |
The encrypted data encryption key.
|
GenerateDataKeyResponse.Builder |
keyId(String keyId) |
The identifier of the CMK under which the data encryption key was generated and encrypted.
|
GenerateDataKeyResponse.Builder |
plaintext(ByteBuffer plaintext) |
The data encryption key.
|
copy
apply, build
GenerateDataKeyResponse.Builder ciphertextBlob(ByteBuffer ciphertextBlob)
The encrypted data encryption key.
ciphertextBlob
- The encrypted data encryption key.GenerateDataKeyResponse.Builder plaintext(ByteBuffer plaintext)
The data encryption key. Use this data key for local encryption and decryption, then remove it from memory as soon as possible.
plaintext
- The data encryption key. Use this data key for local encryption and decryption, then remove it from
memory as soon as possible.GenerateDataKeyResponse.Builder keyId(String keyId)
The identifier of the CMK under which the data encryption key was generated and encrypted.
keyId
- The identifier of the CMK under which the data encryption key was generated and encrypted.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.