@Generated(value="software.amazon.awssdk:codegen") public final class StreamConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StreamConfiguration.Builder,StreamConfiguration>
A configuration for a streaming session.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StreamConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
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. |
String |
automaticTerminationModeAsString()
Indicates if a streaming session created from this launch profile should be terminated automatically or retained
without termination after being in a
STOPPED state. |
static StreamConfiguration.Builder |
builder() |
StreamingClipboardMode |
clipboardMode()
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and
streaming client.
|
String |
clipboardModeAsString()
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and
streaming client.
|
List<StreamingInstanceType> |
ec2InstanceTypes()
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
|
List<String> |
ec2InstanceTypesAsStrings()
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEc2InstanceTypes()
For responses, this returns true if the service returned a value for the Ec2InstanceTypes property.
|
int |
hashCode() |
boolean |
hasStreamingImageIds()
For responses, this returns true if the service returned a value for the StreamingImageIds property.
|
Integer |
maxSessionLengthInMinutes()
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.
|
Integer |
maxStoppedSessionLengthInMinutes()
Integer that determines if you can start and stop your sessions and how long a session can stay in the
STOPPED state. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends StreamConfiguration.Builder> |
serializableBuilderClass() |
StreamConfigurationSessionBackup |
sessionBackup()
Information about the streaming session backup.
|
SessionPersistenceMode |
sessionPersistenceMode()
Determine if a streaming session created from this launch profile can configure persistent storage.
|
String |
sessionPersistenceModeAsString()
Determine if a streaming session created from this launch profile can configure persistent storage.
|
StreamConfigurationSessionStorage |
sessionStorage()
The upload storage for a streaming session.
|
List<String> |
streamingImageIds()
The streaming images that users can select from when launching a streaming session with this launch profile.
|
StreamConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VolumeConfiguration |
volumeConfiguration()
Custom volume configuration for the root volumes that are attached to streaming sessions.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version,
automaticTerminationMode will return AutomaticTerminationMode.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from automaticTerminationModeAsString().
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.
AutomaticTerminationModepublic final String automaticTerminationModeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
automaticTerminationMode will return AutomaticTerminationMode.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from automaticTerminationModeAsString().
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.
AutomaticTerminationModepublic final StreamingClipboardMode clipboardMode()
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
If the service returns an enum value that is not available in the current SDK version, clipboardMode
will return StreamingClipboardMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from clipboardModeAsString().
StreamingClipboardModepublic final String clipboardModeAsString()
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
If the service returns an enum value that is not available in the current SDK version, clipboardMode
will return StreamingClipboardMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from clipboardModeAsString().
StreamingClipboardModepublic final List<StreamingInstanceType> ec2InstanceTypes()
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEc2InstanceTypes() method.
public final boolean hasEc2InstanceTypes()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> ec2InstanceTypesAsStrings()
The EC2 instance types that users can select from when launching a streaming session with this launch profile.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEc2InstanceTypes() method.
public final 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.
public final 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).
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 final StreamConfigurationSessionBackup sessionBackup()
Information about the streaming session backup.
public final SessionPersistenceMode sessionPersistenceMode()
Determine if a streaming session created from this launch profile can configure persistent storage. This means
that volumeConfiguration and automaticTerminationMode are configured.
If the service returns an enum value that is not available in the current SDK version,
sessionPersistenceMode will return SessionPersistenceMode.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from sessionPersistenceModeAsString().
volumeConfiguration and automaticTerminationMode are configured.SessionPersistenceModepublic final String sessionPersistenceModeAsString()
Determine if a streaming session created from this launch profile can configure persistent storage. This means
that volumeConfiguration and automaticTerminationMode are configured.
If the service returns an enum value that is not available in the current SDK version,
sessionPersistenceMode will return SessionPersistenceMode.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from sessionPersistenceModeAsString().
volumeConfiguration and automaticTerminationMode are configured.SessionPersistenceModepublic final StreamConfigurationSessionStorage sessionStorage()
The upload storage for a streaming session.
public final boolean hasStreamingImageIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> streamingImageIds()
The streaming images that users can select from when launching a streaming session with this launch profile.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStreamingImageIds() method.
public final VolumeConfiguration volumeConfiguration()
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StreamConfiguration.Builder,StreamConfiguration>public static StreamConfiguration.Builder builder()
public static Class<? extends StreamConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.