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 key.
|
java.lang.String |
getKeyId()
The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
|
int |
hashCode() |
void |
setCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The encrypted data key.
|
void |
setKeyId(java.lang.String keyId)
The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
|
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 key.
|
GenerateDataKeyWithoutPlaintextResult |
withKeyId(java.lang.String keyId)
The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
|
public GenerateDataKeyWithoutPlaintextResult()
public java.nio.ByteBuffer getCiphertextBlob()
The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Constraints:
Length: 1 - 6144
The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public void setCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Constraints:
Length: 1 - 6144
ciphertextBlob
- The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public GenerateDataKeyWithoutPlaintextResult withCiphertextBlob(java.nio.ByteBuffer ciphertextBlob)
The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 6144
ciphertextBlob
- The encrypted data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public java.lang.String getKeyId()
The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
Constraints:
Length: 1 - 2048
The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
public void setKeyId(java.lang.String keyId)
The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
Constraints:
Length: 1 - 2048
keyId
- The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
public GenerateDataKeyWithoutPlaintextResult withKeyId(java.lang.String keyId)
The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2048
keyId
- The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
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 © 2018 Amazon Web Services, Inc. All Rights Reserved.