@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CmafEncryptionSettings extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
CmafEncryptionSettings() |
| Modifier and Type | Method and Description |
|---|---|
CmafEncryptionSettings |
clone() |
boolean |
equals(Object obj) |
String |
getConstantInitializationVector()
This is a 128-bit, 16-byte hex value represented by a 32-character text string.
|
String |
getEncryptionMethod()
Encrypts the segments with the given encryption scheme.
|
String |
getInitializationVectorInManifest()
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks.
|
StaticKeyProvider |
getStaticKeyProvider()
Use these settings to set up encryption with a static key provider.
|
String |
getType()
Indicates which type of key provider is used for encryption.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setConstantInitializationVector(String constantInitializationVector)
This is a 128-bit, 16-byte hex value represented by a 32-character text string.
|
void |
setEncryptionMethod(String encryptionMethod)
Encrypts the segments with the given encryption scheme.
|
void |
setInitializationVectorInManifest(String initializationVectorInManifest)
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks.
|
void |
setStaticKeyProvider(StaticKeyProvider staticKeyProvider)
Use these settings to set up encryption with a static key provider.
|
void |
setType(String type)
Indicates which type of key provider is used for encryption.
|
String |
toString()
Returns a string representation of this object.
|
CmafEncryptionSettings |
withConstantInitializationVector(String constantInitializationVector)
This is a 128-bit, 16-byte hex value represented by a 32-character text string.
|
CmafEncryptionSettings |
withEncryptionMethod(CmafEncryptionType encryptionMethod)
Encrypts the segments with the given encryption scheme.
|
CmafEncryptionSettings |
withEncryptionMethod(String encryptionMethod)
Encrypts the segments with the given encryption scheme.
|
CmafEncryptionSettings |
withInitializationVectorInManifest(CmafInitializationVectorInManifest initializationVectorInManifest)
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks.
|
CmafEncryptionSettings |
withInitializationVectorInManifest(String initializationVectorInManifest)
The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks.
|
CmafEncryptionSettings |
withStaticKeyProvider(StaticKeyProvider staticKeyProvider)
Use these settings to set up encryption with a static key provider.
|
CmafEncryptionSettings |
withType(CmafKeyProviderType type)
Indicates which type of key provider is used for encryption.
|
CmafEncryptionSettings |
withType(String type)
Indicates which type of key provider is used for encryption.
|
public void setConstantInitializationVector(String constantInitializationVector)
constantInitializationVector - This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not
set then the Initialization Vector will follow the segment number by default.public String getConstantInitializationVector()
public CmafEncryptionSettings withConstantInitializationVector(String constantInitializationVector)
constantInitializationVector - This is a 128-bit, 16-byte hex value represented by a 32-character text string. If this parameter is not
set then the Initialization Vector will follow the segment number by default.public void setEncryptionMethod(String encryptionMethod)
encryptionMethod - Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in
the web interface also disables encryption.CmafEncryptionTypepublic String getEncryptionMethod()
CmafEncryptionTypepublic CmafEncryptionSettings withEncryptionMethod(String encryptionMethod)
encryptionMethod - Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in
the web interface also disables encryption.CmafEncryptionTypepublic CmafEncryptionSettings withEncryptionMethod(CmafEncryptionType encryptionMethod)
encryptionMethod - Encrypts the segments with the given encryption scheme. Leave blank to disable. Selecting 'Disabled' in
the web interface also disables encryption.CmafEncryptionTypepublic void setInitializationVectorInManifest(String initializationVectorInManifest)
initializationVectorInManifest - The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If
set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in
the manifest.CmafInitializationVectorInManifestpublic String getInitializationVectorInManifest()
CmafInitializationVectorInManifestpublic CmafEncryptionSettings withInitializationVectorInManifest(String initializationVectorInManifest)
initializationVectorInManifest - The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If
set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in
the manifest.CmafInitializationVectorInManifestpublic CmafEncryptionSettings withInitializationVectorInManifest(CmafInitializationVectorInManifest initializationVectorInManifest)
initializationVectorInManifest - The Initialization Vector is a 128-bit number used in conjunction with the key for encrypting blocks. If
set to INCLUDE, Initialization Vector is listed in the manifest. Otherwise Initialization Vector is not in
the manifest.CmafInitializationVectorInManifestpublic void setStaticKeyProvider(StaticKeyProvider staticKeyProvider)
staticKeyProvider - Use these settings to set up encryption with a static key provider.public StaticKeyProvider getStaticKeyProvider()
public CmafEncryptionSettings withStaticKeyProvider(StaticKeyProvider staticKeyProvider)
staticKeyProvider - Use these settings to set up encryption with a static key provider.public void setType(String type)
type - Indicates which type of key provider is used for encryption.CmafKeyProviderTypepublic String getType()
CmafKeyProviderTypepublic CmafEncryptionSettings withType(String type)
type - Indicates which type of key provider is used for encryption.CmafKeyProviderTypepublic CmafEncryptionSettings withType(CmafKeyProviderType type)
type - Indicates which type of key provider is used for encryption.CmafKeyProviderTypepublic String toString()
toString in class ObjectObject.toString()public CmafEncryptionSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.