Class ReEncryptResponse
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ReEncryptResponse.Builder,ReEncryptResponse>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ReEncryptResponse.Builderbuilder()final SdkBytesThe reencrypted data.final EncryptionAlgorithmSpecThe encryption algorithm that was used to reencrypt the data.final StringThe encryption algorithm that was used to reencrypt the data.final StringThe identifier of the key material used to reencrypt the data.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringkeyId()The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.static Class<? extends ReEncryptResponse.Builder>final EncryptionAlgorithmSpecThe encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.final StringThe encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.final StringUnique identifier of the KMS key used to originally encrypt the data.final StringThe identifier of the key material used to originally encrypt the data.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.services.kms.model.KmsResponse
responseMetadataMethods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
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
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
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:
-
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:
-
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:
-
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:
-
sourceKeyMaterialId
The identifier of the key material used to originally encrypt the data. This field is present only when the original encryption used a symmetric encryption KMS key.
- Returns:
- The identifier of the key material used to originally encrypt the data. This field is present only when the original encryption used a symmetric encryption KMS key.
-
destinationKeyMaterialId
The identifier of the key material used to reencrypt the data. This field is present only when data is reencrypted using a symmetric encryption KMS key.
- Returns:
- The identifier of the key material used to reencrypt the data. This field is present only when data is reencrypted using a symmetric encryption KMS key.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReEncryptResponse.Builder,ReEncryptResponse> - Specified by:
toBuilderin classAwsResponse
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsResponse
-
equals
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-