ToCopyableBuilder<DecryptResponse.Builder,DecryptResponse>
@Generated("software.amazon.awssdk:codegen") public class DecryptResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<DecryptResponse.Builder,DecryptResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
DecryptResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static DecryptResponse.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
keyId() |
ARN of the key used to perform the decryption.
|
ByteBuffer |
plaintext() |
Decrypted plaintext data.
|
static Class<? extends DecryptResponse.Builder> |
serializableBuilderClass() |
|
DecryptResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public String keyId()
ARN of the key used to perform the decryption. This value is returned if no errors are encountered during the operation.
public ByteBuffer plaintext()
Decrypted plaintext data. This value may not be returned if the customer master key is not available or if you didn't have permission to use it.
ByteBuffer
s 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 DecryptResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DecryptResponse.Builder,DecryptResponse>
public static DecryptResponse.Builder builder()
public static Class<? extends DecryptResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.