@Generated(value="software.amazon.awssdk:codegen") public final class StreamingSessionStream extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StreamingSessionStream.Builder,StreamingSessionStream>
A stream is an active connection to a streaming session, enabling a studio user to control the streaming session using a compatible client. Streaming session streams are compatible with the NICE DCV web client, included in the Nimble Studio portal, or the NICE DCV desktop client.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StreamingSessionStream.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StreamingSessionStream.Builder |
builder() |
Instant |
createdAt()
The Unix epoch timestamp in seconds for when the resource was created.
|
String |
createdBy()
The user ID of the user that created the streaming session stream.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
expiresAt()
The Unix epoch timestamp in seconds for when the resource expires.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
ownedBy()
The user ID of the user that owns the streaming session.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StreamingSessionStream.Builder> |
serializableBuilderClass() |
StreamingSessionStreamState |
state()
The current state.
|
String |
stateAsString()
The current state.
|
StreamingSessionStreamStatusCode |
statusCode()
The streaming session stream status code.
|
String |
statusCodeAsString()
The streaming session stream status code.
|
String |
streamId()
The stream ID.
|
StreamingSessionStream.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
url()
The URL to connect to this stream using the DCV client.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The Unix epoch timestamp in seconds for when the resource was created.
public final String createdBy()
The user ID of the user that created the streaming session stream.
public final Instant expiresAt()
The Unix epoch timestamp in seconds for when the resource expires.
public final String ownedBy()
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
public final StreamingSessionStreamState state()
The current state.
If the service returns an enum value that is not available in the current SDK version, state will return
StreamingSessionStreamState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from stateAsString().
StreamingSessionStreamStatepublic final String stateAsString()
The current state.
If the service returns an enum value that is not available in the current SDK version, state will return
StreamingSessionStreamState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from stateAsString().
StreamingSessionStreamStatepublic final StreamingSessionStreamStatusCode statusCode()
The streaming session stream status code.
If the service returns an enum value that is not available in the current SDK version, statusCode() will
return StreamingSessionStreamStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusCodeAsString().
StreamingSessionStreamStatusCodepublic final String statusCodeAsString()
The streaming session stream status code.
If the service returns an enum value that is not available in the current SDK version, statusCode() will
return StreamingSessionStreamStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusCodeAsString().
StreamingSessionStreamStatusCodepublic final String streamId()
The stream ID.
public final String url()
The URL to connect to this stream using the DCV client.
public StreamingSessionStream.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StreamingSessionStream.Builder,StreamingSessionStream>public static StreamingSessionStream.Builder builder()
public static Class<? extends StreamingSessionStream.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.