@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 |
getClipboardMode()
Enable or disable 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.
|
StreamConfigurationSessionStorage |
getSessionStorage()
(Optional) 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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClipboardMode(String clipboardMode)
Enable or disable 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 |
setSessionStorage(StreamConfigurationSessionStorage sessionStorage)
(Optional) 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.
|
String |
toString()
Returns a string representation of this object.
|
StreamConfiguration |
withClipboardMode(StreamingClipboardMode clipboardMode)
Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming
client.
|
StreamConfiguration |
withClipboardMode(String clipboardMode)
Enable or disable 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 |
withSessionStorage(StreamConfigurationSessionStorage sessionStorage)
(Optional) 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.
|
public void setClipboardMode(String clipboardMode)
Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.
clipboardMode
- Enable or disable the use of the system clipboard to copy and paste between the streaming session and
streaming client.StreamingClipboardMode
public String getClipboardMode()
Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.
StreamingClipboardMode
public StreamConfiguration withClipboardMode(String clipboardMode)
Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.
clipboardMode
- Enable or disable the use of the system clipboard to copy and paste between the streaming session and
streaming client.StreamingClipboardMode
public StreamConfiguration withClipboardMode(StreamingClipboardMode clipboardMode)
Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming client.
clipboardMode
- Enable or disable 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.
If the value is missing or 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 by AWS (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
by AWS (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.
If the value is missing or 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 by
AWS (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 by AWS (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.
If the value is missing or 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 by AWS (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
by AWS (instead of terminated).
If the value is missing or 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 by
AWS (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 by AWS (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.
If the value is missing or 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 by AWS (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
by AWS (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.
If the value is missing or 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 by
AWS (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 by AWS (instead of terminated).
public void setSessionStorage(StreamConfigurationSessionStorage sessionStorage)
(Optional) The upload storage for a streaming session.
sessionStorage
- (Optional) The upload storage for a streaming session.public StreamConfigurationSessionStorage getSessionStorage()
(Optional) The upload storage for a streaming session.
public StreamConfiguration withSessionStorage(StreamConfigurationSessionStorage sessionStorage)
(Optional) The upload storage for a streaming session.
sessionStorage
- (Optional) 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 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.