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 get_constant_initialization_vector(&self) -> &Option<String>
pub fn get_constant_initialization_vector(&self) -> &Option<String>
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 get_encryption_method(&self) -> &Option<CmafEncryptionMethod>
pub fn get_encryption_method(&self) -> &Option<CmafEncryptionMethod>
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 get_key_rotation_interval_seconds(&self) -> &Option<i32>
pub fn get_key_rotation_interval_seconds(&self) -> &Option<i32>
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. 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) -> 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 for CmafEncryptionBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for CmafEncryptionBuilder
Auto Trait Implementations§
impl Freeze for CmafEncryptionBuilder
impl RefUnwindSafe for CmafEncryptionBuilder
impl Send for CmafEncryptionBuilder
impl Sync for CmafEncryptionBuilder
impl Unpin for CmafEncryptionBuilder
impl UnwindSafe for CmafEncryptionBuilder
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