#[non_exhaustive]pub struct StreamConfigurationSessionBackupBuilder { /* private fields */ }Expand description
A builder for StreamConfigurationSessionBackup.
Implementations§
source§impl StreamConfigurationSessionBackupBuilder
impl StreamConfigurationSessionBackupBuilder
sourcepub fn mode(self, input: SessionBackupMode) -> Self
pub fn mode(self, input: SessionBackupMode) -> Self
Specifies how artists sessions are backed up.
Configures backups for streaming sessions launched with this launch profile. The default value is DEACTIVATED, which means that backups are deactivated. To allow backups, set this value to AUTOMATIC.
sourcepub fn set_mode(self, input: Option<SessionBackupMode>) -> Self
pub fn set_mode(self, input: Option<SessionBackupMode>) -> Self
Specifies how artists sessions are backed up.
Configures backups for streaming sessions launched with this launch profile. The default value is DEACTIVATED, which means that backups are deactivated. To allow backups, set this value to AUTOMATIC.
sourcepub fn get_mode(&self) -> &Option<SessionBackupMode>
pub fn get_mode(&self) -> &Option<SessionBackupMode>
Specifies how artists sessions are backed up.
Configures backups for streaming sessions launched with this launch profile. The default value is DEACTIVATED, which means that backups are deactivated. To allow backups, set this value to AUTOMATIC.
sourcepub fn max_backups_to_retain(self, input: i32) -> Self
pub fn max_backups_to_retain(self, input: i32) -> Self
The maximum number of backups that each streaming session created from this launch profile can have.
sourcepub fn set_max_backups_to_retain(self, input: Option<i32>) -> Self
pub fn set_max_backups_to_retain(self, input: Option<i32>) -> Self
The maximum number of backups that each streaming session created from this launch profile can have.
sourcepub fn get_max_backups_to_retain(&self) -> &Option<i32>
pub fn get_max_backups_to_retain(&self) -> &Option<i32>
The maximum number of backups that each streaming session created from this launch profile can have.
sourcepub fn build(self) -> StreamConfigurationSessionBackup
pub fn build(self) -> StreamConfigurationSessionBackup
Consumes the builder and constructs a StreamConfigurationSessionBackup.
Trait Implementations§
source§impl Clone for StreamConfigurationSessionBackupBuilder
impl Clone for StreamConfigurationSessionBackupBuilder
source§fn clone(&self) -> StreamConfigurationSessionBackupBuilder
fn clone(&self) -> StreamConfigurationSessionBackupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StreamConfigurationSessionBackupBuilder
impl Default for StreamConfigurationSessionBackupBuilder
source§fn default() -> StreamConfigurationSessionBackupBuilder
fn default() -> StreamConfigurationSessionBackupBuilder
source§impl PartialEq for StreamConfigurationSessionBackupBuilder
impl PartialEq for StreamConfigurationSessionBackupBuilder
source§fn eq(&self, other: &StreamConfigurationSessionBackupBuilder) -> bool
fn eq(&self, other: &StreamConfigurationSessionBackupBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamConfigurationSessionBackupBuilder
Auto Trait Implementations§
impl Freeze for StreamConfigurationSessionBackupBuilder
impl RefUnwindSafe for StreamConfigurationSessionBackupBuilder
impl Send for StreamConfigurationSessionBackupBuilder
impl Sync for StreamConfigurationSessionBackupBuilder
impl Unpin for StreamConfigurationSessionBackupBuilder
impl UnwindSafe for StreamConfigurationSessionBackupBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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