@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamConfigurationSessionBackup extends Object implements Serializable, Cloneable, StructuredPojo
Configures how streaming sessions are backed up when launched from this launch profile.
| Constructor and Description |
|---|
StreamConfigurationSessionBackup() |
| Modifier and Type | Method and Description |
|---|---|
StreamConfigurationSessionBackup |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxBackupsToRetain()
The maximum number of backups that each streaming session created from this launch profile can have.
|
String |
getMode()
Specifies how artists sessions are backed up.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMaxBackupsToRetain(Integer maxBackupsToRetain)
The maximum number of backups that each streaming session created from this launch profile can have.
|
void |
setMode(String mode)
Specifies how artists sessions are backed up.
|
String |
toString()
Returns a string representation of this object.
|
StreamConfigurationSessionBackup |
withMaxBackupsToRetain(Integer maxBackupsToRetain)
The maximum number of backups that each streaming session created from this launch profile can have.
|
StreamConfigurationSessionBackup |
withMode(SessionBackupMode mode)
Specifies how artists sessions are backed up.
|
StreamConfigurationSessionBackup |
withMode(String mode)
Specifies how artists sessions are backed up.
|
public void setMaxBackupsToRetain(Integer maxBackupsToRetain)
The maximum number of backups that each streaming session created from this launch profile can have.
maxBackupsToRetain - The maximum number of backups that each streaming session created from this launch profile can have.public Integer getMaxBackupsToRetain()
The maximum number of backups that each streaming session created from this launch profile can have.
public StreamConfigurationSessionBackup withMaxBackupsToRetain(Integer maxBackupsToRetain)
The maximum number of backups that each streaming session created from this launch profile can have.
maxBackupsToRetain - The maximum number of backups that each streaming session created from this launch profile can have.public void setMode(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.
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.
SessionBackupModepublic String getMode()
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.
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 withMode(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.
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.
SessionBackupModepublic StreamConfigurationSessionBackup withMode(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.
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.
SessionBackupModepublic String toString()
toString in class ObjectObject.toString()public StreamConfigurationSessionBackup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.