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