Struct aws_sdk_mediapackage::types::builders::HlsEncryptionBuilder
source · #[non_exhaustive]pub struct HlsEncryptionBuilder { /* private fields */ }
Expand description
A builder for HlsEncryption
.
Implementations§
source§impl HlsEncryptionBuilder
impl HlsEncryptionBuilder
sourcepub fn constant_initialization_vector(self, input: impl Into<String>) -> Self
pub fn constant_initialization_vector(self, input: impl Into<String>) -> Self
A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.
sourcepub fn set_constant_initialization_vector(self, input: Option<String>) -> Self
pub fn set_constant_initialization_vector(self, input: Option<String>) -> Self
A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.
sourcepub fn get_constant_initialization_vector(&self) -> &Option<String>
pub fn get_constant_initialization_vector(&self) -> &Option<String>
A constant initialization vector for encryption (optional). When not specified the initialization vector will be periodically rotated.
sourcepub fn encryption_method(self, input: EncryptionMethod) -> Self
pub fn encryption_method(self, input: EncryptionMethod) -> Self
The encryption method to use.
sourcepub fn set_encryption_method(self, input: Option<EncryptionMethod>) -> Self
pub fn set_encryption_method(self, input: Option<EncryptionMethod>) -> Self
The encryption method to use.
sourcepub fn get_encryption_method(&self) -> &Option<EncryptionMethod>
pub fn get_encryption_method(&self) -> &Option<EncryptionMethod>
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
Interval (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
Interval (in seconds) between each encryption key rotation.
sourcepub fn get_key_rotation_interval_seconds(&self) -> &Option<i32>
pub fn get_key_rotation_interval_seconds(&self) -> &Option<i32>
Interval (in seconds) between each encryption key rotation.
sourcepub fn repeat_ext_x_key(self, input: bool) -> Self
pub fn repeat_ext_x_key(self, input: bool) -> Self
When enabled, the EXT-X-KEY tag will be repeated in output manifests.
sourcepub fn set_repeat_ext_x_key(self, input: Option<bool>) -> Self
pub fn set_repeat_ext_x_key(self, input: Option<bool>) -> Self
When enabled, the EXT-X-KEY tag will be repeated in output manifests.
sourcepub fn get_repeat_ext_x_key(&self) -> &Option<bool>
pub fn get_repeat_ext_x_key(&self) -> &Option<bool>
When enabled, the EXT-X-KEY tag will be repeated in output manifests.
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. This field is required.
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 get_speke_key_provider(&self) -> &Option<SpekeKeyProvider>
pub fn get_speke_key_provider(&self) -> &Option<SpekeKeyProvider>
A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide encryption keys.
sourcepub fn build(self) -> HlsEncryption
pub fn build(self) -> HlsEncryption
Consumes the builder and constructs a HlsEncryption
.
Trait Implementations§
source§impl Clone for HlsEncryptionBuilder
impl Clone for HlsEncryptionBuilder
source§fn clone(&self) -> HlsEncryptionBuilder
fn clone(&self) -> HlsEncryptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for HlsEncryptionBuilder
impl Debug for HlsEncryptionBuilder
source§impl Default for HlsEncryptionBuilder
impl Default for HlsEncryptionBuilder
source§fn default() -> HlsEncryptionBuilder
fn default() -> HlsEncryptionBuilder
source§impl PartialEq for HlsEncryptionBuilder
impl PartialEq for HlsEncryptionBuilder
source§fn eq(&self, other: &HlsEncryptionBuilder) -> bool
fn eq(&self, other: &HlsEncryptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.