@Generated(value="software.amazon.awssdk:codegen") public final class ReEncryptResponse extends KmsResponse implements ToCopyableBuilder<ReEncryptResponse.Builder,ReEncryptResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
ReEncryptResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static ReEncryptResponse.Builder |
builder() |
SdkBytes |
ciphertextBlob()
The reencrypted data.
|
EncryptionAlgorithmSpec |
destinationEncryptionAlgorithm()
The encryption algorithm that was used to reencrypt the data.
|
String |
destinationEncryptionAlgorithmAsString()
The encryption algorithm that was used to reencrypt the data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyId()
The Amazon Resource Name (key ARN) of the CMK
that was used to reencrypt the data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReEncryptResponse.Builder> |
serializableBuilderClass() |
EncryptionAlgorithmSpec |
sourceEncryptionAlgorithm()
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
|
String |
sourceEncryptionAlgorithmAsString()
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
|
String |
sourceKeyId()
Unique identifier of the CMK used to originally encrypt the data.
|
ReEncryptResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final SdkBytes ciphertextBlob()
The reencrypted data. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public final String sourceKeyId()
Unique identifier of the CMK used to originally encrypt the data.
public final String keyId()
The Amazon Resource Name (key ARN) of the CMK that was used to reencrypt the data.
public final EncryptionAlgorithmSpec sourceEncryptionAlgorithm()
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
If the service returns an enum value that is not available in the current SDK version,
sourceEncryptionAlgorithm
will return EncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from sourceEncryptionAlgorithmAsString()
.
EncryptionAlgorithmSpec
public final String sourceEncryptionAlgorithmAsString()
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
If the service returns an enum value that is not available in the current SDK version,
sourceEncryptionAlgorithm
will return EncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION
. The raw
value returned by the service is available from sourceEncryptionAlgorithmAsString()
.
EncryptionAlgorithmSpec
public final EncryptionAlgorithmSpec destinationEncryptionAlgorithm()
The encryption algorithm that was used to reencrypt the data.
If the service returns an enum value that is not available in the current SDK version,
destinationEncryptionAlgorithm
will return EncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION
. The
raw value returned by the service is available from destinationEncryptionAlgorithmAsString()
.
EncryptionAlgorithmSpec
public final String destinationEncryptionAlgorithmAsString()
The encryption algorithm that was used to reencrypt the data.
If the service returns an enum value that is not available in the current SDK version,
destinationEncryptionAlgorithm
will return EncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION
. The
raw value returned by the service is available from destinationEncryptionAlgorithmAsString()
.
EncryptionAlgorithmSpec
public ReEncryptResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ReEncryptResponse.Builder,ReEncryptResponse>
toBuilder
in class AwsResponse
public static ReEncryptResponse.Builder builder()
public static Class<? extends ReEncryptResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2021. All rights reserved.