Class StreamConfiguration
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<StreamConfiguration.Builder,
StreamConfiguration>
A configuration for a streaming session.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal AutomaticTerminationMode
Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in aSTOPPED
state.final String
Indicates if a streaming session created from this launch profile should be terminated automatically or retained without termination after being in aSTOPPED
state.static StreamConfiguration.Builder
builder()
final StreamingClipboardMode
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.final String
Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.final List
<StreamingInstanceType> The EC2 instance types that users can select from when launching a streaming session with this launch profile.The EC2 instance types that users can select from when launching a streaming session with this launch profile.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final boolean
For responses, this returns true if the service returned a value for the Ec2InstanceTypes property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the StreamingImageIds property.final Integer
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.final Integer
Integer that determines if you can start and stop your sessions and how long a session can stay in theSTOPPED
state.static Class
<? extends StreamConfiguration.Builder> Information about the streaming session backup.final SessionPersistenceMode
Determine if a streaming session created from this launch profile can configure persistent storage.final String
Determine if a streaming session created from this launch profile can configure persistent storage.The upload storage for a streaming session.The streaming images that users can select from when launching a streaming session with this launch profile.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final VolumeConfiguration
Custom volume configuration for the root volumes that are attached to streaming sessions.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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 theSTOPPED
state for the time specified inmaxStoppedSessionLengthInMinutes
. -
When
DEACTIVATED
, the streaming session can remain in theSTOPPED
state indefinitely.
This parameter is only allowed when
sessionPersistenceMode
isACTIVATED
. When allowed, the default value for this parameter isDEACTIVATED
.If the service returns an enum value that is not available in the current SDK version,
automaticTerminationMode
will returnAutomaticTerminationMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautomaticTerminationModeAsString()
.- Returns:
- 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 theSTOPPED
state for the time specified inmaxStoppedSessionLengthInMinutes
. -
When
DEACTIVATED
, the streaming session can remain in theSTOPPED
state indefinitely.
This parameter is only allowed when
sessionPersistenceMode
isACTIVATED
. When allowed, the default value for this parameter isDEACTIVATED
. -
- See Also:
-
-
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 theSTOPPED
state for the time specified inmaxStoppedSessionLengthInMinutes
. -
When
DEACTIVATED
, the streaming session can remain in theSTOPPED
state indefinitely.
This parameter is only allowed when
sessionPersistenceMode
isACTIVATED
. When allowed, the default value for this parameter isDEACTIVATED
.If the service returns an enum value that is not available in the current SDK version,
automaticTerminationMode
will returnAutomaticTerminationMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautomaticTerminationModeAsString()
.- Returns:
- 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 theSTOPPED
state for the time specified inmaxStoppedSessionLengthInMinutes
. -
When
DEACTIVATED
, the streaming session can remain in theSTOPPED
state indefinitely.
This parameter is only allowed when
sessionPersistenceMode
isACTIVATED
. When allowed, the default value for this parameter isDEACTIVATED
. -
- See Also:
-
-
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 returnStreamingClipboardMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromclipboardModeAsString()
.- Returns:
- Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
- See Also:
-
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 returnStreamingClipboardMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromclipboardModeAsString()
.- Returns:
- Allows or deactivates the use of the system clipboard to copy and paste between the streaming session and streaming client.
- See Also:
-
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.- Returns:
- The EC2 instance types that users can select from when launching a streaming session with this launch profile.
-
hasEc2InstanceTypes
public final boolean hasEc2InstanceTypes()For responses, this returns true if the service returned a value for the Ec2InstanceTypes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- The EC2 instance types that users can select from when launching a streaming session with this launch profile.
-
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.
- Returns:
- 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.
-
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
isACTIVATED
andautomaticTerminationMode
isACTIVATED
.If the value is set to 0, your sessions can’t be
STOPPED
. If you then callStopStreamingSession
, the session fails. If the time that a session stays in theREADY
state exceeds themaxSessionLengthInMinutes
value, the session will automatically be terminated (instead ofSTOPPED
).If the value is set to a positive number, the session can be stopped. You can call
StopStreamingSession
to stop sessions in theREADY
state. If the time that a session stays in theREADY
state exceeds themaxSessionLengthInMinutes
value, the session will automatically be stopped (instead of terminated).- Returns:
- 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
isACTIVATED
andautomaticTerminationMode
isACTIVATED
.If the value is set to 0, your sessions can’t be
STOPPED
. If you then callStopStreamingSession
, the session fails. If the time that a session stays in theREADY
state exceeds themaxSessionLengthInMinutes
value, the session will automatically be terminated (instead ofSTOPPED
).If the value is set to a positive number, the session can be stopped. You can call
StopStreamingSession
to stop sessions in theREADY
state. If the time that a session stays in theREADY
state exceeds themaxSessionLengthInMinutes
value, the session will automatically be stopped (instead of terminated).
-
sessionBackup
Information about the streaming session backup.
- Returns:
- Information about the streaming session backup.
-
sessionPersistenceMode
Determine if a streaming session created from this launch profile can configure persistent storage. This means that
volumeConfiguration
andautomaticTerminationMode
are configured.If the service returns an enum value that is not available in the current SDK version,
sessionPersistenceMode
will returnSessionPersistenceMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsessionPersistenceModeAsString()
.- Returns:
- Determine if a streaming session created from this launch profile can configure persistent storage. This
means that
volumeConfiguration
andautomaticTerminationMode
are configured. - See Also:
-
sessionPersistenceModeAsString
Determine if a streaming session created from this launch profile can configure persistent storage. This means that
volumeConfiguration
andautomaticTerminationMode
are configured.If the service returns an enum value that is not available in the current SDK version,
sessionPersistenceMode
will returnSessionPersistenceMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromsessionPersistenceModeAsString()
.- Returns:
- Determine if a streaming session created from this launch profile can configure persistent storage. This
means that
volumeConfiguration
andautomaticTerminationMode
are configured. - See Also:
-
sessionStorage
The upload storage for a streaming session.
- Returns:
- The upload storage for a streaming session.
-
hasStreamingImageIds
public final boolean hasStreamingImageIds()For responses, this returns true if the service returned a value for the StreamingImageIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
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. -
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.- Returns:
- The streaming images that users can select from when launching a streaming session with this launch profile.
-
volumeConfiguration
Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when
sessionPersistenceMode
isACTIVATED
.- Returns:
- Custom volume configuration for the root volumes that are attached to streaming sessions.
This parameter is only allowed when
sessionPersistenceMode
isACTIVATED
.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<StreamConfiguration.Builder,
StreamConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-