Cloneable
, ReadLimitInfo
, ToCopyableBuilder<DecryptRequest.Builder,DecryptRequest>
@Generated("software.amazon.awssdk:codegen") public class DecryptRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<DecryptRequest.Builder,DecryptRequest>
Modifier and Type | Class | Description |
---|---|---|
static interface |
DecryptRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static DecryptRequest.Builder |
builder() |
|
ByteBuffer |
ciphertextBlob() |
Ciphertext to be decrypted.
|
Map<String,String> |
encryptionContext() |
The encryption context.
|
boolean |
equals(Object obj) |
|
List<String> |
grantTokens() |
A list of grant tokens.
|
int |
hashCode() |
|
static Class<? extends DecryptRequest.Builder> |
serializableBuilderClass() |
|
DecryptRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public ByteBuffer ciphertextBlob()
Ciphertext to be decrypted. The blob includes metadata.
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 Map<String,String> encryptionContext()
The encryption context. If this was specified in the Encrypt function, it must be specified here or the decryption operation will fail. For more information, see Encryption Context.
public List<String> grantTokens()
A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
public DecryptRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DecryptRequest.Builder,DecryptRequest>
public static DecryptRequest.Builder builder()
public static Class<? extends DecryptRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.