Cloneable, ReadLimitInfo, ToCopyableBuilder<ReEncryptRequest.Builder,ReEncryptRequest>@Generated("software.amazon.awssdk:codegen") public class ReEncryptRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<ReEncryptRequest.Builder,ReEncryptRequest>
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
ReEncryptRequest.Builder |
NOOP| Modifier and Type | Method | Description |
|---|---|---|
static ReEncryptRequest.Builder |
builder() |
|
ByteBuffer |
ciphertextBlob() |
Ciphertext of the data to reencrypt.
|
Map<String,String> |
destinationEncryptionContext() |
Encryption context to use when the data is reencrypted.
|
String |
destinationKeyId() |
A unique identifier for the CMK to use to reencrypt the data.
|
boolean |
equals(Object obj) |
|
List<String> |
grantTokens() |
A list of grant tokens.
|
int |
hashCode() |
|
static Class<? extends ReEncryptRequest.Builder> |
serializableBuilderClass() |
|
Map<String,String> |
sourceEncryptionContext() |
Encryption context used to encrypt and decrypt the data specified in the
CiphertextBlob parameter. |
ReEncryptRequest.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, withSdkClientExecutionTimeoutpublic ByteBuffer ciphertextBlob()
Ciphertext of the data to reencrypt.
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 Map<String,String> sourceEncryptionContext()
Encryption context used to encrypt and decrypt the data specified in the CiphertextBlob parameter.
CiphertextBlob
parameter.public String destinationKeyId()
A unique identifier for the CMK to use to reencrypt the data. This value can be a globally unique identifier, a fully specified ARN to either an alias or a key, or an alias name prefixed by "alias/".
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
Alias Name Example - alias/MyAliasName
Key ARN Example - arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012
Alias ARN Example - arn:aws:kms:us-east-1:123456789012:alias/MyAliasName
Globally Unique Key ID Example - 12345678-1234-1234-1234-123456789012
Alias Name Example - alias/MyAliasName
public Map<String,String> destinationEncryptionContext()
Encryption context to use when the data is reencrypted.
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 ReEncryptRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ReEncryptRequest.Builder,ReEncryptRequest>public static ReEncryptRequest.Builder builder()
public static Class<? extends ReEncryptRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.