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 encryption key.
|
String |
getKeyId()
The identifier of the CMK under which the data encryption key was
generated and encrypted.
|
int |
hashCode() |
void |
setCiphertextBlob(ByteBuffer ciphertextBlob)
The encrypted data encryption key.
|
void |
setKeyId(String keyId)
The identifier of the CMK under which the data encryption key was
generated and encrypted.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenerateDataKeyWithoutPlaintextResult |
withCiphertextBlob(ByteBuffer ciphertextBlob)
The encrypted data encryption key.
|
GenerateDataKeyWithoutPlaintextResult |
withKeyId(String keyId)
The identifier of the CMK under which the data encryption key was
generated and encrypted.
|
public GenerateDataKeyWithoutPlaintextResult()
public ByteBuffer getCiphertextBlob()
The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded.
Constraints:
Length: 1 - 6144
The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded.
public void setCiphertextBlob(ByteBuffer ciphertextBlob)
The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded.
Constraints:
Length: 1 - 6144
ciphertextBlob - The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded.
public GenerateDataKeyWithoutPlaintextResult withCiphertextBlob(ByteBuffer ciphertextBlob)
The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 6144
ciphertextBlob - The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded.
public String getKeyId()
The identifier of the CMK under which the data encryption key was generated and encrypted.
Constraints:
Length: 1 - 2048
The identifier of the CMK under which the data encryption key was generated and encrypted.
public void setKeyId(String keyId)
The identifier of the CMK under which the data encryption key was generated and encrypted.
Constraints:
Length: 1 - 2048
keyId - The identifier of the CMK under which the data encryption key was generated and encrypted.
public GenerateDataKeyWithoutPlaintextResult withKeyId(String keyId)
The identifier of the CMK under which the data encryption key was generated and encrypted.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
keyId - The identifier of the CMK under which the data encryption key was generated and encrypted.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.