@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 |
|---|---|
static StreamConfiguration.Builder |
builder() |
StreamingClipboardMode |
clipboardMode()
Enable or disable the use of the system clipboard to copy and paste between the streaming session and streaming
client.
|
String |
clipboardModeAsString()
Enable or disable 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 run.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StreamConfiguration.Builder> |
serializableBuilderClass() |
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final StreamingClipboardMode clipboardMode()
Enable or disable 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()
Enable or disable 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 run. After this point, Nimble Studio automatically terminates the 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 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 © 2021. All rights reserved.