@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptDataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
EncryptDataRequest() |
Modifier and Type | Method and Description |
---|---|
EncryptDataRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
EncryptionDecryptionAttributes |
getEncryptionAttributes()
The encryption key type and attributes for plaintext encryption.
|
String |
getKeyIdentifier()
The
keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext
encryption. |
String |
getPlainText()
The plaintext to be encrypted.
|
int |
hashCode() |
void |
setEncryptionAttributes(EncryptionDecryptionAttributes encryptionAttributes)
The encryption key type and attributes for plaintext encryption.
|
void |
setKeyIdentifier(String keyIdentifier)
The
keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext
encryption. |
void |
setPlainText(String plainText)
The plaintext to be encrypted.
|
String |
toString()
Returns a string representation of this object.
|
EncryptDataRequest |
withEncryptionAttributes(EncryptionDecryptionAttributes encryptionAttributes)
The encryption key type and attributes for plaintext encryption.
|
EncryptDataRequest |
withKeyIdentifier(String keyIdentifier)
The
keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext
encryption. |
EncryptDataRequest |
withPlainText(String plainText)
The plaintext to be encrypted.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEncryptionAttributes(EncryptionDecryptionAttributes encryptionAttributes)
The encryption key type and attributes for plaintext encryption.
encryptionAttributes
- The encryption key type and attributes for plaintext encryption.public EncryptionDecryptionAttributes getEncryptionAttributes()
The encryption key type and attributes for plaintext encryption.
public EncryptDataRequest withEncryptionAttributes(EncryptionDecryptionAttributes encryptionAttributes)
The encryption key type and attributes for plaintext encryption.
encryptionAttributes
- The encryption key type and attributes for plaintext encryption.public void setKeyIdentifier(String keyIdentifier)
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext
encryption.
keyIdentifier
- The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for
plaintext encryption.public String getKeyIdentifier()
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext
encryption.
keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for
plaintext encryption.public EncryptDataRequest withKeyIdentifier(String keyIdentifier)
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext
encryption.
keyIdentifier
- The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for
plaintext encryption.public void setPlainText(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 KeyAlgorithm
and padding type that you define in
AsymmetricEncryptionAttributes
. For more information, see Encrypt data in
the Amazon Web Services Payment Cryptography User Guide.
plainText
- The plaintext to be encrypted.
For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that
you define in KeyAlgorithm
and padding type that you define in
AsymmetricEncryptionAttributes
. For more information, see Encrypt
data in the Amazon Web Services Payment Cryptography User Guide.
public String getPlainText()
The plaintext to be encrypted.
For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that you
define in KeyAlgorithm
and padding type that you define in
AsymmetricEncryptionAttributes
. For more information, see Encrypt data in
the Amazon Web Services Payment Cryptography User Guide.
For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength
that you define in KeyAlgorithm
and padding type that you define in
AsymmetricEncryptionAttributes
. For more information, see Encrypt
data in the Amazon Web Services Payment Cryptography User Guide.
public EncryptDataRequest withPlainText(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 KeyAlgorithm
and padding type that you define in
AsymmetricEncryptionAttributes
. For more information, see Encrypt data in
the Amazon Web Services Payment Cryptography User Guide.
plainText
- The plaintext to be encrypted.
For encryption using asymmetric keys, plaintext data length is constrained by encryption key strength that
you define in KeyAlgorithm
and padding type that you define in
AsymmetricEncryptionAttributes
. For more information, see Encrypt
data in the Amazon Web Services Payment Cryptography User Guide.
public String toString()
toString
in class Object
Object.toString()
public EncryptDataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()