Class StreamConfigurationSessionBackup

    • Method Detail

      • maxBackupsToRetain

        public final Integer maxBackupsToRetain()

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

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

        public final 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.

        If the service returns an enum value that is not available in the current SDK version, mode will return SessionBackupMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from modeAsString().

        Returns:
        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.

        See Also:
        SessionBackupMode
      • modeAsString

        public final String modeAsString()

        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.

        If the service returns an enum value that is not available in the current SDK version, mode will return SessionBackupMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from modeAsString().

        Returns:
        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.

        See Also:
        SessionBackupMode
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)