@Generated(value="software.amazon.awssdk:codegen") public final class EncryptResponse extends KmsResponse implements ToCopyableBuilder<EncryptResponse.Builder,EncryptResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
EncryptResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EncryptResponse.Builder |
builder() |
SdkBytes |
ciphertextBlob()
The encrypted plaintext.
|
EncryptionAlgorithmSpec |
encryptionAlgorithm()
The encryption algorithm that was used to encrypt the plaintext.
|
String |
encryptionAlgorithmAsString()
The encryption algorithm that was used to encrypt the plaintext.
|
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 KMS
key that was used to encrypt the plaintext.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EncryptResponse.Builder> |
serializableBuilderClass() |
EncryptResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SdkBytes ciphertextBlob()
The encrypted plaintext. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
public final String keyId()
The Amazon Resource Name (key ARN) of the KMS key that was used to encrypt the plaintext.
public final EncryptionAlgorithmSpec encryptionAlgorithm()
The encryption algorithm that was used to encrypt the plaintext.
If the service returns an enum value that is not available in the current SDK version,
encryptionAlgorithm will return EncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from encryptionAlgorithmAsString().
EncryptionAlgorithmSpecpublic final String encryptionAlgorithmAsString()
The encryption algorithm that was used to encrypt the plaintext.
If the service returns an enum value that is not available in the current SDK version,
encryptionAlgorithm will return EncryptionAlgorithmSpec.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from encryptionAlgorithmAsString().
EncryptionAlgorithmSpecpublic EncryptResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EncryptResponse.Builder,EncryptResponse>toBuilder in class AwsResponsepublic static EncryptResponse.Builder builder()
public static Class<? extends EncryptResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.