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