@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A configuration for a streaming session.
Constructor and Description |
---|
StreamConfiguration() |
Modifier and Type | Method and Description |
---|---|
StreamConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAutomaticTerminationMode()
Indicates if a streaming session created from this launch profile should be terminated automatically or retained
without termination after being in a
STOPPED state. |
String |
getClipboardMode()
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and
streaming client.
|
List<String> |
getEc2InstanceTypes()
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
|
Integer |
getMaxSessionLengthInMinutes()
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.
|
Integer |
getMaxStoppedSessionLengthInMinutes()
Integer that determines if you can start and stop your sessions and how long a session can stay in the
STOPPED state. |
StreamConfigurationSessionBackup |
getSessionBackup()
Information about the streaming session backup.
|
String |
getSessionPersistenceMode()
Determine if a streaming session created from this launch profile can configure persistent storage.
|
StreamConfigurationSessionStorage |
getSessionStorage()
The upload storage for a streaming session.
|
List<String> |
getStreamingImageIds()
The streaming images that users can select from when launching a streaming session with this launch profile.
|
VolumeConfiguration |
getVolumeConfiguration()
Custom volume configuration for the root volumes that are attached to streaming sessions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAutomaticTerminationMode(String automaticTerminationMode)
Indicates if a streaming session created from this launch profile should be terminated automatically or retained
without termination after being in a
STOPPED state. |
void |
setClipboardMode(String clipboardMode)
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and
streaming client.
|
void |
setEc2InstanceTypes(Collection<String> ec2InstanceTypes)
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
|
void |
setMaxSessionLengthInMinutes(Integer maxSessionLengthInMinutes)
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.
|
void |
setMaxStoppedSessionLengthInMinutes(Integer maxStoppedSessionLengthInMinutes)
Integer that determines if you can start and stop your sessions and how long a session can stay in the
STOPPED state. |
void |
setSessionBackup(StreamConfigurationSessionBackup sessionBackup)
Information about the streaming session backup.
|
void |
setSessionPersistenceMode(String sessionPersistenceMode)
Determine if a streaming session created from this launch profile can configure persistent storage.
|
void |
setSessionStorage(StreamConfigurationSessionStorage sessionStorage)
The upload storage for a streaming session.
|
void |
setStreamingImageIds(Collection<String> streamingImageIds)
The streaming images that users can select from when launching a streaming session with this launch profile.
|
void |
setVolumeConfiguration(VolumeConfiguration volumeConfiguration)
Custom volume configuration for the root volumes that are attached to streaming sessions.
|
String |
toString()
Returns a string representation of this object.
|
StreamConfiguration |
withAutomaticTerminationMode(AutomaticTerminationMode automaticTerminationMode)
Indicates if a streaming session created from this launch profile should be terminated automatically or retained
without termination after being in a
STOPPED state. |
StreamConfiguration |
withAutomaticTerminationMode(String automaticTerminationMode)
Indicates if a streaming session created from this launch profile should be terminated automatically or retained
without termination after being in a
STOPPED state. |
StreamConfiguration |
withClipboardMode(StreamingClipboardMode clipboardMode)
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and
streaming client.
|
StreamConfiguration |
withClipboardMode(String clipboardMode)
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and
streaming client.
|
StreamConfiguration |
withEc2InstanceTypes(Collection<String> ec2InstanceTypes)
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
|
StreamConfiguration |
withEc2InstanceTypes(StreamingInstanceType... ec2InstanceTypes)
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
|
StreamConfiguration |
withEc2InstanceTypes(String... ec2InstanceTypes)
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
|
StreamConfiguration |
withMaxSessionLengthInMinutes(Integer maxSessionLengthInMinutes)
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.
|
StreamConfiguration |
withMaxStoppedSessionLengthInMinutes(Integer maxStoppedSessionLengthInMinutes)
Integer that determines if you can start and stop your sessions and how long a session can stay in the
STOPPED state. |
StreamConfiguration |
withSessionBackup(StreamConfigurationSessionBackup sessionBackup)
Information about the streaming session backup.
|
StreamConfiguration |
withSessionPersistenceMode(SessionPersistenceMode sessionPersistenceMode)
Determine if a streaming session created from this launch profile can configure persistent storage.
|
StreamConfiguration |
withSessionPersistenceMode(String sessionPersistenceMode)
Determine if a streaming session created from this launch profile can configure persistent storage.
|
StreamConfiguration |
withSessionStorage(StreamConfigurationSessionStorage sessionStorage)
The upload storage for a streaming session.
|
StreamConfiguration |
withStreamingImageIds(Collection<String> streamingImageIds)
The streaming images that users can select from when launching a streaming session with this launch profile.
|
StreamConfiguration |
withStreamingImageIds(String... streamingImageIds)
The streaming images that users can select from when launching a streaming session with this launch profile.
|
StreamConfiguration |
withVolumeConfiguration(VolumeConfiguration volumeConfiguration)
Custom volume configuration for the root volumes that are attached to streaming sessions.
|
public void setAutomaticTerminationMode(String automaticTerminationMode)
Indicates if a streaming session created from this launch profile should be terminated automatically or retained
without termination after being in a STOPPED
state.
When ACTIVATED
, the streaming session is scheduled for termination after being in the
STOPPED
state for the time specified in maxStoppedSessionLengthInMinutes
.
When DEACTIVATED
, the streaming session can remain in the STOPPED
state indefinitely.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
. When allowed,
the default value for this parameter is DEACTIVATED
.
automaticTerminationMode
- Indicates if a streaming session created from this launch profile should be terminated automatically or
retained without termination after being in a STOPPED
state.
When ACTIVATED
, the streaming session is scheduled for termination after being in the
STOPPED
state for the time specified in maxStoppedSessionLengthInMinutes
.
When DEACTIVATED
, the streaming session can remain in the STOPPED
state
indefinitely.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
. When
allowed, the default value for this parameter is DEACTIVATED
.
AutomaticTerminationMode
public String getAutomaticTerminationMode()
Indicates if a streaming session created from this launch profile should be terminated automatically or retained
without termination after being in a STOPPED
state.
When ACTIVATED
, the streaming session is scheduled for termination after being in the
STOPPED
state for the time specified in maxStoppedSessionLengthInMinutes
.
When DEACTIVATED
, the streaming session can remain in the STOPPED
state indefinitely.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
. When allowed,
the default value for this parameter is DEACTIVATED
.
STOPPED
state.
When ACTIVATED
, the streaming session is scheduled for termination after being in the
STOPPED
state for the time specified in maxStoppedSessionLengthInMinutes
.
When DEACTIVATED
, the streaming session can remain in the STOPPED
state
indefinitely.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
. When
allowed, the default value for this parameter is DEACTIVATED
.
AutomaticTerminationMode
public StreamConfiguration withAutomaticTerminationMode(String automaticTerminationMode)
Indicates if a streaming session created from this launch profile should be terminated automatically or retained
without termination after being in a STOPPED
state.
When ACTIVATED
, the streaming session is scheduled for termination after being in the
STOPPED
state for the time specified in maxStoppedSessionLengthInMinutes
.
When DEACTIVATED
, the streaming session can remain in the STOPPED
state indefinitely.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
. When allowed,
the default value for this parameter is DEACTIVATED
.
automaticTerminationMode
- Indicates if a streaming session created from this launch profile should be terminated automatically or
retained without termination after being in a STOPPED
state.
When ACTIVATED
, the streaming session is scheduled for termination after being in the
STOPPED
state for the time specified in maxStoppedSessionLengthInMinutes
.
When DEACTIVATED
, the streaming session can remain in the STOPPED
state
indefinitely.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
. When
allowed, the default value for this parameter is DEACTIVATED
.
AutomaticTerminationMode
public StreamConfiguration withAutomaticTerminationMode(AutomaticTerminationMode automaticTerminationMode)
Indicates if a streaming session created from this launch profile should be terminated automatically or retained
without termination after being in a STOPPED
state.
When ACTIVATED
, the streaming session is scheduled for termination after being in the
STOPPED
state for the time specified in maxStoppedSessionLengthInMinutes
.
When DEACTIVATED
, the streaming session can remain in the STOPPED
state indefinitely.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
. When allowed,
the default value for this parameter is DEACTIVATED
.
automaticTerminationMode
- Indicates if a streaming session created from this launch profile should be terminated automatically or
retained without termination after being in a STOPPED
state.
When ACTIVATED
, the streaming session is scheduled for termination after being in the
STOPPED
state for the time specified in maxStoppedSessionLengthInMinutes
.
When DEACTIVATED
, the streaming session can remain in the STOPPED
state
indefinitely.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
. When
allowed, the default value for this parameter is DEACTIVATED
.
AutomaticTerminationMode
public void setClipboardMode(String clipboardMode)
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
clipboardMode
- Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and
streaming client.StreamingClipboardMode
public String getClipboardMode()
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
StreamingClipboardMode
public StreamConfiguration withClipboardMode(String clipboardMode)
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
clipboardMode
- Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and
streaming client.StreamingClipboardMode
public StreamConfiguration withClipboardMode(StreamingClipboardMode clipboardMode)
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
clipboardMode
- Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and
streaming client.StreamingClipboardMode
public List<String> getEc2InstanceTypes()
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
StreamingInstanceType
public void setEc2InstanceTypes(Collection<String> ec2InstanceTypes)
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
ec2InstanceTypes
- The EC2 instance types that users can select from when launching a streaming session with this launch
profile.StreamingInstanceType
public StreamConfiguration withEc2InstanceTypes(String... ec2InstanceTypes)
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
NOTE: This method appends the values to the existing list (if any). Use
setEc2InstanceTypes(java.util.Collection)
or withEc2InstanceTypes(java.util.Collection)
if you
want to override the existing values.
ec2InstanceTypes
- The EC2 instance types that users can select from when launching a streaming session with this launch
profile.StreamingInstanceType
public StreamConfiguration withEc2InstanceTypes(Collection<String> ec2InstanceTypes)
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
ec2InstanceTypes
- The EC2 instance types that users can select from when launching a streaming session with this launch
profile.StreamingInstanceType
public StreamConfiguration withEc2InstanceTypes(StreamingInstanceType... ec2InstanceTypes)
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
ec2InstanceTypes
- The EC2 instance types that users can select from when launching a streaming session with this launch
profile.StreamingInstanceType
public void setMaxSessionLengthInMinutes(Integer maxSessionLengthInMinutes)
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.
maxSessionLengthInMinutes
- The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.
After this point, Nimble Studio automatically terminates or stops the session. The default length of time
is 690 minutes, and the maximum length of time is 30 days.public Integer getMaxSessionLengthInMinutes()
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.
public StreamConfiguration withMaxSessionLengthInMinutes(Integer maxSessionLengthInMinutes)
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690 minutes, and the maximum length of time is 30 days.
maxSessionLengthInMinutes
- The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.
After this point, Nimble Studio automatically terminates or stops the session. The default length of time
is 690 minutes, and the maximum length of time is 30 days.public void setMaxStoppedSessionLengthInMinutes(Integer maxStoppedSessionLengthInMinutes)
Integer that determines if you can start and stop your sessions and how long a session can stay in the
STOPPED
state. The default value is 0. The maximum value is 5760.
This field is allowed only when sessionPersistenceMode
is ACTIVATED
and
automaticTerminationMode
is ACTIVATED
.
If the value is set to 0, your sessions can’t be STOPPED
. If you then call
StopStreamingSession
, the session fails. If the time that a session stays in the READY
state exceeds the maxSessionLengthInMinutes
value, the session will automatically be terminated
(instead of STOPPED
).
If the value is set to a positive number, the session can be stopped. You can call
StopStreamingSession
to stop sessions in the READY
state. If the time that a session
stays in the READY
state exceeds the maxSessionLengthInMinutes
value, the session will
automatically be stopped (instead of terminated).
maxStoppedSessionLengthInMinutes
- Integer that determines if you can start and stop your sessions and how long a session can stay in the
STOPPED
state. The default value is 0. The maximum value is 5760.
This field is allowed only when sessionPersistenceMode
is ACTIVATED
and
automaticTerminationMode
is ACTIVATED
.
If the value is set to 0, your sessions can’t be STOPPED
. If you then call
StopStreamingSession
, the session fails. If the time that a session stays in the
READY
state exceeds the maxSessionLengthInMinutes
value, the session will
automatically be terminated (instead of STOPPED
).
If the value is set to a positive number, the session can be stopped. You can call
StopStreamingSession
to stop sessions in the READY
state. If the time that a
session stays in the READY
state exceeds the maxSessionLengthInMinutes
value,
the session will automatically be stopped (instead of terminated).
public Integer getMaxStoppedSessionLengthInMinutes()
Integer that determines if you can start and stop your sessions and how long a session can stay in the
STOPPED
state. The default value is 0. The maximum value is 5760.
This field is allowed only when sessionPersistenceMode
is ACTIVATED
and
automaticTerminationMode
is ACTIVATED
.
If the value is set to 0, your sessions can’t be STOPPED
. If you then call
StopStreamingSession
, the session fails. If the time that a session stays in the READY
state exceeds the maxSessionLengthInMinutes
value, the session will automatically be terminated
(instead of STOPPED
).
If the value is set to a positive number, the session can be stopped. You can call
StopStreamingSession
to stop sessions in the READY
state. If the time that a session
stays in the READY
state exceeds the maxSessionLengthInMinutes
value, the session will
automatically be stopped (instead of terminated).
STOPPED
state. The default value is 0. The maximum value is 5760.
This field is allowed only when sessionPersistenceMode
is ACTIVATED
and
automaticTerminationMode
is ACTIVATED
.
If the value is set to 0, your sessions can’t be STOPPED
. If you then call
StopStreamingSession
, the session fails. If the time that a session stays in the
READY
state exceeds the maxSessionLengthInMinutes
value, the session will
automatically be terminated (instead of STOPPED
).
If the value is set to a positive number, the session can be stopped. You can call
StopStreamingSession
to stop sessions in the READY
state. If the time that a
session stays in the READY
state exceeds the maxSessionLengthInMinutes
value,
the session will automatically be stopped (instead of terminated).
public StreamConfiguration withMaxStoppedSessionLengthInMinutes(Integer maxStoppedSessionLengthInMinutes)
Integer that determines if you can start and stop your sessions and how long a session can stay in the
STOPPED
state. The default value is 0. The maximum value is 5760.
This field is allowed only when sessionPersistenceMode
is ACTIVATED
and
automaticTerminationMode
is ACTIVATED
.
If the value is set to 0, your sessions can’t be STOPPED
. If you then call
StopStreamingSession
, the session fails. If the time that a session stays in the READY
state exceeds the maxSessionLengthInMinutes
value, the session will automatically be terminated
(instead of STOPPED
).
If the value is set to a positive number, the session can be stopped. You can call
StopStreamingSession
to stop sessions in the READY
state. If the time that a session
stays in the READY
state exceeds the maxSessionLengthInMinutes
value, the session will
automatically be stopped (instead of terminated).
maxStoppedSessionLengthInMinutes
- Integer that determines if you can start and stop your sessions and how long a session can stay in the
STOPPED
state. The default value is 0. The maximum value is 5760.
This field is allowed only when sessionPersistenceMode
is ACTIVATED
and
automaticTerminationMode
is ACTIVATED
.
If the value is set to 0, your sessions can’t be STOPPED
. If you then call
StopStreamingSession
, the session fails. If the time that a session stays in the
READY
state exceeds the maxSessionLengthInMinutes
value, the session will
automatically be terminated (instead of STOPPED
).
If the value is set to a positive number, the session can be stopped. You can call
StopStreamingSession
to stop sessions in the READY
state. If the time that a
session stays in the READY
state exceeds the maxSessionLengthInMinutes
value,
the session will automatically be stopped (instead of terminated).
public void setSessionBackup(StreamConfigurationSessionBackup sessionBackup)
Information about the streaming session backup.
sessionBackup
- Information about the streaming session backup.public StreamConfigurationSessionBackup getSessionBackup()
Information about the streaming session backup.
public StreamConfiguration withSessionBackup(StreamConfigurationSessionBackup sessionBackup)
Information about the streaming session backup.
sessionBackup
- Information about the streaming session backup.public void setSessionPersistenceMode(String sessionPersistenceMode)
Determine if a streaming session created from this launch profile can configure persistent storage. This means
that volumeConfiguration
and automaticTerminationMode
are configured.
sessionPersistenceMode
- Determine if a streaming session created from this launch profile can configure persistent storage. This
means that volumeConfiguration
and automaticTerminationMode
are configured.SessionPersistenceMode
public String getSessionPersistenceMode()
Determine if a streaming session created from this launch profile can configure persistent storage. This means
that volumeConfiguration
and automaticTerminationMode
are configured.
volumeConfiguration
and automaticTerminationMode
are configured.SessionPersistenceMode
public StreamConfiguration withSessionPersistenceMode(String sessionPersistenceMode)
Determine if a streaming session created from this launch profile can configure persistent storage. This means
that volumeConfiguration
and automaticTerminationMode
are configured.
sessionPersistenceMode
- Determine if a streaming session created from this launch profile can configure persistent storage. This
means that volumeConfiguration
and automaticTerminationMode
are configured.SessionPersistenceMode
public StreamConfiguration withSessionPersistenceMode(SessionPersistenceMode sessionPersistenceMode)
Determine if a streaming session created from this launch profile can configure persistent storage. This means
that volumeConfiguration
and automaticTerminationMode
are configured.
sessionPersistenceMode
- Determine if a streaming session created from this launch profile can configure persistent storage. This
means that volumeConfiguration
and automaticTerminationMode
are configured.SessionPersistenceMode
public void setSessionStorage(StreamConfigurationSessionStorage sessionStorage)
The upload storage for a streaming session.
sessionStorage
- The upload storage for a streaming session.public StreamConfigurationSessionStorage getSessionStorage()
The upload storage for a streaming session.
public StreamConfiguration withSessionStorage(StreamConfigurationSessionStorage sessionStorage)
The upload storage for a streaming session.
sessionStorage
- The upload storage for a streaming session.public List<String> getStreamingImageIds()
The streaming images that users can select from when launching a streaming session with this launch profile.
public void setStreamingImageIds(Collection<String> streamingImageIds)
The streaming images that users can select from when launching a streaming session with this launch profile.
streamingImageIds
- The streaming images that users can select from when launching a streaming session with this launch
profile.public StreamConfiguration withStreamingImageIds(String... streamingImageIds)
The streaming images that users can select from when launching a streaming session with this launch profile.
NOTE: This method appends the values to the existing list (if any). Use
setStreamingImageIds(java.util.Collection)
or withStreamingImageIds(java.util.Collection)
if
you want to override the existing values.
streamingImageIds
- The streaming images that users can select from when launching a streaming session with this launch
profile.public StreamConfiguration withStreamingImageIds(Collection<String> streamingImageIds)
The streaming images that users can select from when launching a streaming session with this launch profile.
streamingImageIds
- The streaming images that users can select from when launching a streaming session with this launch
profile.public void setVolumeConfiguration(VolumeConfiguration volumeConfiguration)
Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
.
volumeConfiguration
- Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
.
public VolumeConfiguration getVolumeConfiguration()
Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
.
public StreamConfiguration withVolumeConfiguration(VolumeConfiguration volumeConfiguration)
Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
.
volumeConfiguration
- Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when sessionPersistenceMode
is ACTIVATED
.
public String toString()
toString
in class Object
Object.toString()
public StreamConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.