Class SymmetricEncryptionAttributes
- java.lang.Object
-
- software.amazon.awssdk.services.paymentcryptographydata.model.SymmetricEncryptionAttributes
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SymmetricEncryptionAttributes.Builder,SymmetricEncryptionAttributes>
@Generated("software.amazon.awssdk:codegen") public final class SymmetricEncryptionAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SymmetricEncryptionAttributes.Builder,SymmetricEncryptionAttributes>
Parameters requried to encrypt plaintext data using symmetric keys.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSymmetricEncryptionAttributes.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SymmetricEncryptionAttributes.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinitializationVector()An input used to provide the intial state.EncryptionModemode()The block cipher method to use for encryption.StringmodeAsString()The block cipher method to use for encryption.PaddingTypepaddingType()The padding to be included with the data.StringpaddingTypeAsString()The padding to be included with the data.List<SdkField<?>>sdkFields()static Class<? extends SymmetricEncryptionAttributes.Builder>serializableBuilderClass()SymmetricEncryptionAttributes.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
initializationVector
public final String initializationVector()
An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
- Returns:
- An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
-
mode
public final EncryptionMode mode()
The block cipher method to use for encryption.
If the service returns an enum value that is not available in the current SDK version,
modewill returnEncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The block cipher method to use for encryption.
- See Also:
EncryptionMode
-
modeAsString
public final String modeAsString()
The block cipher method to use for encryption.
If the service returns an enum value that is not available in the current SDK version,
modewill returnEncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- The block cipher method to use for encryption.
- See Also:
EncryptionMode
-
paddingType
public final PaddingType paddingType()
The padding to be included with the data.
If the service returns an enum value that is not available in the current SDK version,
paddingTypewill returnPaddingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompaddingTypeAsString().- Returns:
- The padding to be included with the data.
- See Also:
PaddingType
-
paddingTypeAsString
public final String paddingTypeAsString()
The padding to be included with the data.
If the service returns an enum value that is not available in the current SDK version,
paddingTypewill returnPaddingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompaddingTypeAsString().- Returns:
- The padding to be included with the data.
- See Also:
PaddingType
-
toBuilder
public SymmetricEncryptionAttributes.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SymmetricEncryptionAttributes.Builder,SymmetricEncryptionAttributes>
-
builder
public static SymmetricEncryptionAttributes.Builder builder()
-
serializableBuilderClass
public static Class<? extends SymmetricEncryptionAttributes.Builder> serializableBuilderClass()
-
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.
-
-