Struct aws_sdk_mediapackage::model::hls_encryption::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for HlsEncryption
.
Implementations
sourceimpl 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
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 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 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 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 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) -> HlsEncryption
pub fn build(self) -> HlsEncryption
Consumes the builder and constructs a HlsEncryption
.
Trait Implementations
sourceimpl PartialEq<Builder> for Builder
impl PartialEq<Builder> for Builder
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more