#[non_exhaustive]pub struct StreamConfigurationSessionBackup {
pub mode: Option<SessionBackupMode>,
pub max_backups_to_retain: i32,
}
Expand description
Configures how streaming sessions are backed up when launched from this launch profile.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.mode: 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
.
max_backups_to_retain: i32
The maximum number of backups that each streaming session created from this launch profile can have.
Implementations§
source§impl StreamConfigurationSessionBackup
impl StreamConfigurationSessionBackup
sourcepub fn mode(&self) -> Option<&SessionBackupMode>
pub fn 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) -> i32
pub fn max_backups_to_retain(&self) -> i32
The maximum number of backups that each streaming session created from this launch profile can have.
source§impl StreamConfigurationSessionBackup
impl StreamConfigurationSessionBackup
sourcepub fn builder() -> StreamConfigurationSessionBackupBuilder
pub fn builder() -> StreamConfigurationSessionBackupBuilder
Creates a new builder-style object to manufacture StreamConfigurationSessionBackup
.
Trait Implementations§
source§impl Clone for StreamConfigurationSessionBackup
impl Clone for StreamConfigurationSessionBackup
source§fn clone(&self) -> StreamConfigurationSessionBackup
fn clone(&self) -> StreamConfigurationSessionBackup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for StreamConfigurationSessionBackup
impl PartialEq for StreamConfigurationSessionBackup
source§fn eq(&self, other: &StreamConfigurationSessionBackup) -> bool
fn eq(&self, other: &StreamConfigurationSessionBackup) -> bool
self
and other
values to be equal, and is used
by ==
.