@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SymmetricEncryptionAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Parameters requried to encrypt plaintext data using symmetric keys.
| Constructor and Description |
|---|
SymmetricEncryptionAttributes() |
| Modifier and Type | Method and Description |
|---|---|
SymmetricEncryptionAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getInitializationVector()
An input used to provide the intial state.
|
String |
getMode()
The block cipher method to use for encryption.
|
String |
getPaddingType()
The padding to be included with the data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setInitializationVector(String initializationVector)
An input used to provide the intial state.
|
void |
setMode(String mode)
The block cipher method to use for encryption.
|
void |
setPaddingType(String paddingType)
The padding to be included with the data.
|
String |
toString()
Returns a string representation of this object.
|
SymmetricEncryptionAttributes |
withInitializationVector(String initializationVector)
An input used to provide the intial state.
|
SymmetricEncryptionAttributes |
withMode(EncryptionMode mode)
The block cipher method to use for encryption.
|
SymmetricEncryptionAttributes |
withMode(String mode)
The block cipher method to use for encryption.
|
SymmetricEncryptionAttributes |
withPaddingType(PaddingType paddingType)
The padding to be included with the data.
|
SymmetricEncryptionAttributes |
withPaddingType(String paddingType)
The padding to be included with the data.
|
public void setMode(String mode)
The block cipher method to use for encryption.
mode - The block cipher method to use for encryption.EncryptionModepublic String getMode()
The block cipher method to use for encryption.
EncryptionModepublic SymmetricEncryptionAttributes withMode(String mode)
The block cipher method to use for encryption.
mode - The block cipher method to use for encryption.EncryptionModepublic SymmetricEncryptionAttributes withMode(EncryptionMode mode)
The block cipher method to use for encryption.
mode - The block cipher method to use for encryption.EncryptionModepublic void setInitializationVector(String initializationVector)
An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
initializationVector - An input used to provide the intial state. If no value is provided, Amazon Web Services Payment
Cryptography defaults it to zero.public String getInitializationVector()
An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
public SymmetricEncryptionAttributes withInitializationVector(String initializationVector)
An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
initializationVector - An input used to provide the intial state. If no value is provided, Amazon Web Services Payment
Cryptography defaults it to zero.public void setPaddingType(String paddingType)
The padding to be included with the data.
paddingType - The padding to be included with the data.PaddingTypepublic String getPaddingType()
The padding to be included with the data.
PaddingTypepublic SymmetricEncryptionAttributes withPaddingType(String paddingType)
The padding to be included with the data.
paddingType - The padding to be included with the data.PaddingTypepublic SymmetricEncryptionAttributes withPaddingType(PaddingType paddingType)
The padding to be included with the data.
paddingType - The padding to be included with the data.PaddingTypepublic String toString()
toString in class ObjectObject.toString()public SymmetricEncryptionAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.