Class CmafEncryption
- java.lang.Object
-
- software.amazon.awssdk.services.mediapackage.model.CmafEncryption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CmafEncryption.Builder,CmafEncryption>
@Generated("software.amazon.awssdk:codegen") public final class CmafEncryption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CmafEncryption.Builder,CmafEncryption>
A Common Media Application Format (CMAF) encryption configuration.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCmafEncryption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CmafEncryption.Builderbuilder()StringconstantInitializationVector()An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks.CmafEncryptionMethodencryptionMethod()Returns the value of the EncryptionMethod property for this object.StringencryptionMethodAsString()Returns the value of the EncryptionMethod property for this object.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerkeyRotationIntervalSeconds()Time (in seconds) between each encryption key rotation.List<SdkField<?>>sdkFields()static Class<? extends CmafEncryption.Builder>serializableBuilderClass()SpekeKeyProviderspekeKeyProvider()Returns the value of the SpekeKeyProvider property for this object.CmafEncryption.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
-
constantInitializationVector
public final String constantInitializationVector()
An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).- Returns:
- An optional 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting blocks. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
-
encryptionMethod
public final CmafEncryptionMethod encryptionMethod()
Returns the value of the EncryptionMethod property for this object.If the service returns an enum value that is not available in the current SDK version,
encryptionMethodwill returnCmafEncryptionMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionMethodAsString().- Returns:
- The value of the EncryptionMethod property for this object.
- See Also:
CmafEncryptionMethod
-
encryptionMethodAsString
public final String encryptionMethodAsString()
Returns the value of the EncryptionMethod property for this object.If the service returns an enum value that is not available in the current SDK version,
encryptionMethodwill returnCmafEncryptionMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionMethodAsString().- Returns:
- The value of the EncryptionMethod property for this object.
- See Also:
CmafEncryptionMethod
-
keyRotationIntervalSeconds
public final Integer keyRotationIntervalSeconds()
Time (in seconds) between each encryption key rotation.- Returns:
- Time (in seconds) between each encryption key rotation.
-
spekeKeyProvider
public final SpekeKeyProvider spekeKeyProvider()
Returns the value of the SpekeKeyProvider property for this object.- Returns:
- The value of the SpekeKeyProvider property for this object.
-
toBuilder
public CmafEncryption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CmafEncryption.Builder,CmafEncryption>
-
builder
public static CmafEncryption.Builder builder()
-
serializableBuilderClass
public static Class<? extends CmafEncryption.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.
-
-