public class GenerateDataKeyWithoutPlaintextResult extends Object implements Serializable
| Constructor and Description |
|---|
GenerateDataKeyWithoutPlaintextResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getCiphertextBlob()
The encrypted data key.
|
String |
getKeyId()
The identifier of the CMK that encrypted the data key.
|
int |
hashCode() |
void |
setCiphertextBlob(ByteBuffer ciphertextBlob)
The encrypted data key.
|
void |
setKeyId(String keyId)
The identifier of the CMK that encrypted the data key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenerateDataKeyWithoutPlaintextResult |
withCiphertextBlob(ByteBuffer ciphertextBlob)
The encrypted data key.
|
GenerateDataKeyWithoutPlaintextResult |
withKeyId(String keyId)
The identifier of the CMK that encrypted the data key.
|
public GenerateDataKeyWithoutPlaintextResult()
public ByteBuffer getCiphertextBlob()
The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Constraints:
Length: 1 - 6144
The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public void setCiphertextBlob(ByteBuffer ciphertextBlob)
The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Constraints:
Length: 1 - 6144
ciphertextBlob - The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public GenerateDataKeyWithoutPlaintextResult withCiphertextBlob(ByteBuffer ciphertextBlob)
The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 6144
ciphertextBlob - The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public String getKeyId()
The identifier of the CMK that encrypted the data key.
Constraints:
Length: 1 - 2048
The identifier of the CMK that encrypted the data key.
public void setKeyId(String keyId)
The identifier of the CMK that encrypted the data key.
Constraints:
Length: 1 - 2048
keyId - The identifier of the CMK that encrypted the data key.
public GenerateDataKeyWithoutPlaintextResult withKeyId(String keyId)
The identifier of the CMK that encrypted the data key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
keyId - The identifier of the CMK that encrypted the data key.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.