Class ReEncryptResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.kms.model.KmsResponse
-
- software.amazon.awssdk.services.kms.model.ReEncryptResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ReEncryptResponse.Builder,ReEncryptResponse>
@Generated("software.amazon.awssdk:codegen") public final class ReEncryptResponse extends KmsResponse implements ToCopyableBuilder<ReEncryptResponse.Builder,ReEncryptResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReEncryptResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReEncryptResponse.Builderbuilder()SdkBytesciphertextBlob()The reencrypted data.EncryptionAlgorithmSpecdestinationEncryptionAlgorithm()The encryption algorithm that was used to reencrypt the data.StringdestinationEncryptionAlgorithmAsString()The encryption algorithm that was used to reencrypt the data.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyId()The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReEncryptResponse.Builder>serializableBuilderClass()EncryptionAlgorithmSpecsourceEncryptionAlgorithm()The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.StringsourceEncryptionAlgorithmAsString()The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.StringsourceKeyId()Unique identifier of the KMS key used to originally encrypt the data.ReEncryptResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.kms.model.KmsResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
ciphertextBlob
public final SdkBytes ciphertextBlob()
The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
- Returns:
- The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
-
sourceKeyId
public final String sourceKeyId()
Unique identifier of the KMS key used to originally encrypt the data.
- Returns:
- Unique identifier of the KMS key used to originally encrypt the data.
-
keyId
public final String keyId()
The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.
- Returns:
- The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.
-
sourceEncryptionAlgorithm
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,
sourceEncryptionAlgorithmwill returnEncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceEncryptionAlgorithmAsString().- Returns:
- The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
- See Also:
EncryptionAlgorithmSpec
-
sourceEncryptionAlgorithmAsString
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,
sourceEncryptionAlgorithmwill returnEncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceEncryptionAlgorithmAsString().- Returns:
- The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
- See Also:
EncryptionAlgorithmSpec
-
destinationEncryptionAlgorithm
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,
destinationEncryptionAlgorithmwill returnEncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationEncryptionAlgorithmAsString().- Returns:
- The encryption algorithm that was used to reencrypt the data.
- See Also:
EncryptionAlgorithmSpec
-
destinationEncryptionAlgorithmAsString
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,
destinationEncryptionAlgorithmwill returnEncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationEncryptionAlgorithmAsString().- Returns:
- The encryption algorithm that was used to reencrypt the data.
- See Also:
EncryptionAlgorithmSpec
-
toBuilder
public ReEncryptResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReEncryptResponse.Builder,ReEncryptResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static ReEncryptResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReEncryptResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-