Struct aws_sdk_mediapackage::model::cmaf_encryption::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CmafEncryption
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn constant_initialization_vector(self, input: impl Into<String>) -> Self
pub fn constant_initialization_vector(self, input: impl Into<String>) -> Self
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).
sourcepub fn set_constant_initialization_vector(self, input: Option<String>) -> Self
pub fn set_constant_initialization_vector(self, input: Option<String>) -> Self
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).
sourcepub fn encryption_method(self, input: CmafEncryptionMethod) -> Self
pub fn encryption_method(self, input: CmafEncryptionMethod) -> Self
The encryption method to use.
sourcepub fn set_encryption_method(self, input: Option<CmafEncryptionMethod>) -> Self
pub fn set_encryption_method(self, input: Option<CmafEncryptionMethod>) -> Self
The encryption method to use.
sourcepub fn key_rotation_interval_seconds(self, input: i32) -> Self
pub fn key_rotation_interval_seconds(self, input: i32) -> Self
Time (in seconds) between each encryption key rotation.
sourcepub fn set_key_rotation_interval_seconds(self, input: Option<i32>) -> Self
pub fn set_key_rotation_interval_seconds(self, input: Option<i32>) -> Self
Time (in seconds) between each encryption key rotation.
sourcepub fn speke_key_provider(self, input: SpekeKeyProvider) -> Self
pub fn speke_key_provider(self, input: SpekeKeyProvider) -> Self
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
sourcepub fn set_speke_key_provider(self, input: Option<SpekeKeyProvider>) -> Self
pub fn set_speke_key_provider(self, input: Option<SpekeKeyProvider>) -> Self
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
sourcepub fn build(self) -> CmafEncryption
pub fn build(self) -> CmafEncryption
Consumes the builder and constructs a CmafEncryption
.