Interface StreamConfigurationSessionBackup.Builder

    • Method Detail

      • maxBackupsToRetain

        StreamConfigurationSessionBackup.Builder maxBackupsToRetain​(Integer maxBackupsToRetain)

        The maximum number of backups that each streaming session created from this launch profile can have.

        Parameters:
        maxBackupsToRetain - The maximum number of backups that each streaming session created from this launch profile can have.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mode

        StreamConfigurationSessionBackup.Builder mode​(String mode)

        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.

        Parameters:
        mode - 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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SessionBackupMode, SessionBackupMode
      • mode

        StreamConfigurationSessionBackup.Builder mode​(SessionBackupMode mode)

        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.

        Parameters:
        mode - 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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SessionBackupMode, SessionBackupMode