Struct aws_sdk_mediapackage::types::builders::CmafEncryptionBuilder
source · #[non_exhaustive]pub struct CmafEncryptionBuilder { /* private fields */ }
Expand description
A builder for CmafEncryption
.
Implementations§
source§impl CmafEncryptionBuilder
impl CmafEncryptionBuilder
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
.
Trait Implementations§
source§impl Clone for CmafEncryptionBuilder
impl Clone for CmafEncryptionBuilder
source§fn clone(&self) -> CmafEncryptionBuilder
fn clone(&self) -> CmafEncryptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CmafEncryptionBuilder
impl Debug for CmafEncryptionBuilder
source§impl Default for CmafEncryptionBuilder
impl Default for CmafEncryptionBuilder
source§fn default() -> CmafEncryptionBuilder
fn default() -> CmafEncryptionBuilder
source§impl PartialEq<CmafEncryptionBuilder> for CmafEncryptionBuilder
impl PartialEq<CmafEncryptionBuilder> for CmafEncryptionBuilder
source§fn eq(&self, other: &CmafEncryptionBuilder) -> bool
fn eq(&self, other: &CmafEncryptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.