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.
Constraints:
Length: 1 - 6144
The reencrypted data.
public void setCiphertextBlob(ByteBuffer ciphertextBlob)
The reencrypted data.
Constraints:
Length: 1 - 6144
ciphertextBlob - The reencrypted data.
public ReEncryptResult withCiphertextBlob(ByteBuffer ciphertextBlob)
The reencrypted data.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 6144
ciphertextBlob - The reencrypted data.
public String getSourceKeyId()
Unique identifier of the CMK used to originally encrypt the data.
Constraints:
Length: 1 - 256
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 - 256
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 - 256
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 - 256
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 - 256
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 - 256
keyId - Unique identifier of the CMK used to reencrypt the data.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.