@Generated(value="software.amazon.awssdk:codegen") public final class StreamConfigurationSessionBackup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StreamConfigurationSessionBackup.Builder,StreamConfigurationSessionBackup>
Configures how streaming sessions are backed up when launched from this launch profile.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StreamConfigurationSessionBackup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StreamConfigurationSessionBackup.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxBackupsToRetain()
The maximum number of backups that each streaming session created from this launch profile can have.
|
SessionBackupMode |
mode()
Specifies how artists sessions are backed up.
|
String |
modeAsString()
Specifies how artists sessions are backed up.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StreamConfigurationSessionBackup.Builder> |
serializableBuilderClass() |
StreamConfigurationSessionBackup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer maxBackupsToRetain()
The maximum number of backups that each streaming session created from this launch profile can have.
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().
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.
SessionBackupModepublic 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().
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.
SessionBackupModepublic StreamConfigurationSessionBackup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StreamConfigurationSessionBackup.Builder,StreamConfigurationSessionBackup>public static StreamConfigurationSessionBackup.Builder builder()
public static Class<? extends StreamConfigurationSessionBackup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.