#[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 ==
.