public class ReEncryptResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ReEncryptResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.ByteBuffer |
getCiphertextBlob()
The reencrypted data.
|
java.lang.String |
getKeyId()
Unique identifier of the CMK used to reencrypt the data.
|
java.lang.String |
getSourceKeyId()
Unique identifier of the CMK used to originally encrypt the data.
|
int |
hashCode() |
void |
setCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The reencrypted data.
|
void |
setKeyId(java.lang.String keyId)
Unique identifier of the CMK used to reencrypt the data.
|
void |
setSourceKeyId(java.lang.String sourceKeyId)
Unique identifier of the CMK used to originally encrypt the data.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReEncryptResult |
withCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The reencrypted data.
|
ReEncryptResult |
withKeyId(java.lang.String keyId)
Unique identifier of the CMK used to reencrypt the data.
|
ReEncryptResult |
withSourceKeyId(java.lang.String sourceKeyId)
Unique identifier of the CMK used to originally encrypt the data.
|
public java.nio.ByteBuffer getCiphertextBlob()
The reencrypted data.
Constraints:
Length: 1 - 6144
The reencrypted data.
public void setCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The reencrypted data.
Constraints:
Length: 1 - 6144
ciphertextBlob
- The reencrypted data.
public ReEncryptResult withCiphertextBlob(java.nio.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.