Class StreamConfigurationSessionBackup
- java.lang.Object
-
- software.amazon.awssdk.services.nimble.model.StreamConfigurationSessionBackup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StreamConfigurationSessionBackup.Builder,StreamConfigurationSessionBackup>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStreamConfigurationSessionBackup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StreamConfigurationSessionBackup.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxBackupsToRetain()The maximum number of backups that each streaming session created from this launch profile can have.SessionBackupModemode()Specifies how artists sessions are backed up.StringmodeAsString()Specifies how artists sessions are backed up.List<SdkField<?>>sdkFields()static Class<? extends StreamConfigurationSessionBackup.Builder>serializableBuilderClass()StreamConfigurationSessionBackup.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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 toAUTOMATIC.If the service returns an enum value that is not available in the current SDK version,
modewill returnSessionBackupMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- 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 toAUTOMATIC. - 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 toAUTOMATIC.If the service returns an enum value that is not available in the current SDK version,
modewill returnSessionBackupMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- 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 toAUTOMATIC. - See Also:
SessionBackupMode
-
toBuilder
public StreamConfigurationSessionBackup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StreamConfigurationSessionBackup.Builder,StreamConfigurationSessionBackup>
-
builder
public static StreamConfigurationSessionBackup.Builder builder()
-
serializableBuilderClass
public static Class<? extends StreamConfigurationSessionBackup.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-