public class GenerateDataKeyWithoutPlaintextResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GenerateDataKeyWithoutPlaintextResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.ByteBuffer |
getCiphertextBlob()
The encrypted data encryption key.
|
java.lang.String |
getKeyId()
The identifier of the CMK under which the data encryption key was
generated and encrypted.
|
int |
hashCode() |
void |
setCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The encrypted data encryption key.
|
void |
setKeyId(java.lang.String keyId)
The identifier of the CMK under which the data encryption key was
generated and encrypted.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GenerateDataKeyWithoutPlaintextResult |
withCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The encrypted data encryption key.
|
GenerateDataKeyWithoutPlaintextResult |
withKeyId(java.lang.String keyId)
The identifier of the CMK under which the data encryption key was
generated and encrypted.
|
public GenerateDataKeyWithoutPlaintextResult()
public java.nio.ByteBuffer getCiphertextBlob()
The encrypted data encryption key.
Constraints:
Length: 1 - 6144
The encrypted data encryption key.
public void setCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The encrypted data encryption key.
Constraints:
Length: 1 - 6144
ciphertextBlob
- The encrypted data encryption key.
public GenerateDataKeyWithoutPlaintextResult withCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The encrypted data encryption key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 6144
ciphertextBlob
- The encrypted data encryption key.
public java.lang.String getKeyId()
The identifier of the CMK under which the data encryption key was generated and encrypted.
Constraints:
Length: 1 - 256
The identifier of the CMK under which the data encryption key was generated and encrypted.
public void setKeyId(java.lang.String keyId)
The identifier of the CMK under which the data encryption key was generated and encrypted.
Constraints:
Length: 1 - 256
keyId
- The identifier of the CMK under which the data encryption key was generated and encrypted.
public GenerateDataKeyWithoutPlaintextResult withKeyId(java.lang.String keyId)
The identifier of the CMK under which the data encryption key was generated and encrypted.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
keyId
- The identifier of the CMK under which the data encryption key was generated and encrypted.
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.