Struct aws_sdk_mediapackagev2::types::builders::EncryptionBuilder
source · #[non_exhaustive]pub struct EncryptionBuilder { /* private fields */ }
Expand description
A builder for Encryption
.
Implementations§
source§impl EncryptionBuilder
impl EncryptionBuilder
sourcepub fn constant_initialization_vector(self, input: impl Into<String>) -> Self
pub fn constant_initialization_vector(self, input: impl Into<String>) -> Self
A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. 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
A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. 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>
A 128-bit, 16-byte hex value represented by a 32-character string, used in conjunction with the key for encrypting content. If you don't specify a value, then MediaPackage creates the constant initialization vector (IV).
sourcepub fn encryption_method(self, input: EncryptionMethod) -> Self
pub fn encryption_method(self, input: EncryptionMethod) -> Self
The encryption method to use.
This field is required.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
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
sourcepub fn set_key_rotation_interval_seconds(self, input: Option<i32>) -> Self
pub fn set_key_rotation_interval_seconds(self, input: Option<i32>) -> Self
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
sourcepub fn get_key_rotation_interval_seconds(&self) -> &Option<i32>
pub fn get_key_rotation_interval_seconds(&self) -> &Option<i32>
The frequency (in seconds) of key changes for live workflows, in which content is streamed real time. The service retrieves content keys before the live content begins streaming, and then retrieves them as needed over the lifetime of the workflow. By default, key rotation is set to 300 seconds (5 minutes), the minimum rotation interval, which is equivalent to setting it to 300. If you don't enter an interval, content keys aren't rotated.
The following example setting causes the service to rotate keys every thirty minutes: 1800
sourcepub fn speke_key_provider(self, input: SpekeKeyProvider) -> Self
pub fn speke_key_provider(self, input: SpekeKeyProvider) -> Self
The parameters for the SPEKE key provider.
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
The parameters for the SPEKE key provider.
sourcepub fn get_speke_key_provider(&self) -> &Option<SpekeKeyProvider>
pub fn get_speke_key_provider(&self) -> &Option<SpekeKeyProvider>
The parameters for the SPEKE key provider.
sourcepub fn build(self) -> Encryption
pub fn build(self) -> Encryption
Consumes the builder and constructs a Encryption
.
Trait Implementations§
source§impl Clone for EncryptionBuilder
impl Clone for EncryptionBuilder
source§fn clone(&self) -> EncryptionBuilder
fn clone(&self) -> EncryptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionBuilder
impl Debug for EncryptionBuilder
source§impl Default for EncryptionBuilder
impl Default for EncryptionBuilder
source§fn default() -> EncryptionBuilder
fn default() -> EncryptionBuilder
source§impl PartialEq for EncryptionBuilder
impl PartialEq for EncryptionBuilder
source§fn eq(&self, other: &EncryptionBuilder) -> bool
fn eq(&self, other: &EncryptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.