public class GenerateDataKeyWithoutPlaintextResult extends Object implements Serializable
Constructor and Description |
---|
GenerateDataKeyWithoutPlaintextResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getCiphertextBlob()
Ciphertext that contains the wrapped key.
|
String |
getKeyId()
System generated unique identifier for the key.
|
int |
hashCode() |
void |
setCiphertextBlob(ByteBuffer ciphertextBlob)
Ciphertext that contains the wrapped key.
|
void |
setKeyId(String keyId)
System generated unique identifier for the key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenerateDataKeyWithoutPlaintextResult |
withCiphertextBlob(ByteBuffer ciphertextBlob)
Ciphertext that contains the wrapped key.
|
GenerateDataKeyWithoutPlaintextResult |
withKeyId(String keyId)
System generated unique identifier for the key.
|
public GenerateDataKeyWithoutPlaintextResult()
public ByteBuffer getCiphertextBlob()
Constraints:
Length: 1 - 6144
public void setCiphertextBlob(ByteBuffer ciphertextBlob)
Constraints:
Length: 1 - 6144
ciphertextBlob
- Ciphertext that contains the wrapped key. You must store the blob and
encryption context so that the key can be used in a future operation.public GenerateDataKeyWithoutPlaintextResult withCiphertextBlob(ByteBuffer ciphertextBlob)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 6144
ciphertextBlob
- Ciphertext that contains the wrapped key. You must store the blob and
encryption context so that the key can be used in a future operation.public String getKeyId()
Constraints:
Length: 1 - 256
public void setKeyId(String keyId)
Constraints:
Length: 1 - 256
keyId
- System generated unique identifier for the key.public GenerateDataKeyWithoutPlaintextResult withKeyId(String keyId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
keyId
- System generated unique identifier for the key.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.