ToCopyableBuilder<EncryptResponse.Builder,EncryptResponse>@Generated("software.amazon.awssdk:codegen") public class EncryptResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<EncryptResponse.Builder,EncryptResponse>
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
EncryptResponse.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
static EncryptResponse.Builder |
builder() |
|
ByteBuffer |
ciphertextBlob() |
The encrypted plaintext.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
keyId() |
The ID of the key used during encryption.
|
static Class<? extends EncryptResponse.Builder> |
serializableBuilderClass() |
|
EncryptResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadatapublic ByteBuffer ciphertextBlob()
The encrypted plaintext. If you are using the CLI, the value is Base64 encoded. Otherwise, it is not encoded.
ByteBuffers are stateful. Calling their get methods changes their position. We recommend
using ByteBuffer.asReadOnlyBuffer() to create a read-only view of the buffer with an independent
position, and calling get methods on this rather than directly on the returned ByteBuffer
. Doing so will ensure that anyone else using the ByteBuffer will not be affected by changes to the
position.
public String keyId()
The ID of the key used during encryption.
public EncryptResponse.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<EncryptResponse.Builder,EncryptResponse>public static EncryptResponse.Builder builder()
public static Class<? extends EncryptResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.