#[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 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 ==
.impl StructuralPartialEq for HlsEncryptionBuilder
Auto Trait Implementations§
impl Freeze for HlsEncryptionBuilder
impl RefUnwindSafe for HlsEncryptionBuilder
impl Send for HlsEncryptionBuilder
impl Sync for HlsEncryptionBuilder
impl Unpin for HlsEncryptionBuilder
impl UnwindSafe for HlsEncryptionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more