@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
.
SessionBackupMode
public 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
.
SessionBackupMode
public 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
.
SessionBackupMode
public 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
.
SessionBackupMode
public String toString()
toString
in class Object
Object.toString()
public StreamConfigurationSessionBackup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.