public static interface GenerateDataKeyPairResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<GenerateDataKeyPairResponse.Builder,GenerateDataKeyPairResponse>
Modifier and Type | Method and Description |
---|---|
GenerateDataKeyPairResponse.Builder |
keyId(String keyId)
The Amazon Resource Name (key ARN) of the
CMK that encrypted the private key.
|
GenerateDataKeyPairResponse.Builder |
keyPairSpec(DataKeyPairSpec keyPairSpec)
The type of data key pair that was generated.
|
GenerateDataKeyPairResponse.Builder |
keyPairSpec(String keyPairSpec)
The type of data key pair that was generated.
|
GenerateDataKeyPairResponse.Builder |
privateKeyCiphertextBlob(SdkBytes privateKeyCiphertextBlob)
The encrypted copy of the private key.
|
GenerateDataKeyPairResponse.Builder |
privateKeyPlaintext(SdkBytes privateKeyPlaintext)
The plaintext copy of the private key.
|
GenerateDataKeyPairResponse.Builder |
publicKey(SdkBytes publicKey)
The public key (in plaintext).
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GenerateDataKeyPairResponse.Builder privateKeyCiphertextBlob(SdkBytes privateKeyCiphertextBlob)
The encrypted copy of the private key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
privateKeyCiphertextBlob
- The encrypted copy of the private key. When you use the HTTP API or the AWS CLI, the value is
Base64-encoded. Otherwise, it is not Base64-encoded.GenerateDataKeyPairResponse.Builder privateKeyPlaintext(SdkBytes privateKeyPlaintext)
The plaintext copy of the private key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
privateKeyPlaintext
- The plaintext copy of the private key. When you use the HTTP API or the AWS CLI, the value is
Base64-encoded. Otherwise, it is not Base64-encoded.GenerateDataKeyPairResponse.Builder publicKey(SdkBytes publicKey)
The public key (in plaintext).
publicKey
- The public key (in plaintext).GenerateDataKeyPairResponse.Builder keyId(String keyId)
The Amazon Resource Name (key ARN) of the CMK that encrypted the private key.
keyId
- The Amazon Resource Name (key ARN)
of the CMK that encrypted the private key.GenerateDataKeyPairResponse.Builder keyPairSpec(String keyPairSpec)
The type of data key pair that was generated.
keyPairSpec
- The type of data key pair that was generated.DataKeyPairSpec
,
DataKeyPairSpec
GenerateDataKeyPairResponse.Builder keyPairSpec(DataKeyPairSpec keyPairSpec)
The type of data key pair that was generated.
keyPairSpec
- The type of data key pair that was generated.DataKeyPairSpec
,
DataKeyPairSpec