Class EncryptDataRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataRequest
-
- software.amazon.awssdk.services.paymentcryptographydata.model.EncryptDataRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<EncryptDataRequest.Builder,EncryptDataRequest>
@Generated("software.amazon.awssdk:codegen") public final class EncryptDataRequest extends PaymentCryptographyDataRequest implements ToCopyableBuilder<EncryptDataRequest.Builder,EncryptDataRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEncryptDataRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptDataRequest.Builderbuilder()EncryptionDecryptionAttributesencryptionAttributes()The encryption key type and attributes for plaintext encryption.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyIdentifier()ThekeyARNof the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.StringplainText()The plaintext to be encrypted.List<SdkField<?>>sdkFields()static Class<? extends EncryptDataRequest.Builder>serializableBuilderClass()EncryptDataRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
encryptionAttributes
public final EncryptionDecryptionAttributes encryptionAttributes()
The encryption key type and attributes for plaintext encryption.
- Returns:
- The encryption key type and attributes for plaintext encryption.
-
keyIdentifier
public final String keyIdentifier()
The
keyARNof the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.- Returns:
- The
keyARNof the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.
-
plainText
public final String plainText()
The plaintext to be encrypted.
For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that you define in
KeyAlgorithmand padding type that you define inAsymmetricEncryptionAttributes. For more information, see Encrypt data in the Amazon Web Services Payment Cryptography User Guide.- Returns:
- The plaintext to be encrypted.
For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that you define in
KeyAlgorithmand padding type that you define inAsymmetricEncryptionAttributes. For more information, see Encrypt data in the Amazon Web Services Payment Cryptography User Guide.
-
toBuilder
public EncryptDataRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EncryptDataRequest.Builder,EncryptDataRequest>- Specified by:
toBuilderin classPaymentCryptographyDataRequest
-
builder
public static EncryptDataRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends EncryptDataRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
-