@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamingSessionStream extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
StreamingSessionStream() |
Modifier and Type | Method and Description |
---|---|
StreamingSessionStream |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The Unix epoch timestamp in seconds for when the resource was created.
|
String |
getCreatedBy()
The user ID of the user that created the streaming session stream.
|
Date |
getExpiresAt()
The Unix epoch timestamp in seconds for when the resource expires.
|
String |
getOwnedBy()
The user ID of the user that owns the streaming session.
|
String |
getState()
The current state.
|
String |
getStatusCode()
The streaming session stream status code.
|
String |
getStreamId()
The stream ID.
|
String |
getUrl()
The URL to connect to this stream using the DCV client.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the resource was created.
|
void |
setCreatedBy(String createdBy)
The user ID of the user that created the streaming session stream.
|
void |
setExpiresAt(Date expiresAt)
The Unix epoch timestamp in seconds for when the resource expires.
|
void |
setOwnedBy(String ownedBy)
The user ID of the user that owns the streaming session.
|
void |
setState(String state)
The current state.
|
void |
setStatusCode(String statusCode)
The streaming session stream status code.
|
void |
setStreamId(String streamId)
The stream ID.
|
void |
setUrl(String url)
The URL to connect to this stream using the DCV client.
|
String |
toString()
Returns a string representation of this object.
|
StreamingSessionStream |
withCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the resource was created.
|
StreamingSessionStream |
withCreatedBy(String createdBy)
The user ID of the user that created the streaming session stream.
|
StreamingSessionStream |
withExpiresAt(Date expiresAt)
The Unix epoch timestamp in seconds for when the resource expires.
|
StreamingSessionStream |
withOwnedBy(String ownedBy)
The user ID of the user that owns the streaming session.
|
StreamingSessionStream |
withState(StreamingSessionStreamState state)
The current state.
|
StreamingSessionStream |
withState(String state)
The current state.
|
StreamingSessionStream |
withStatusCode(StreamingSessionStreamStatusCode statusCode)
The streaming session stream status code.
|
StreamingSessionStream |
withStatusCode(String statusCode)
The streaming session stream status code.
|
StreamingSessionStream |
withStreamId(String streamId)
The stream ID.
|
StreamingSessionStream |
withUrl(String url)
The URL to connect to this stream using the DCV client.
|
public void setCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the resource was created.
createdAt
- The Unix epoch timestamp in seconds for when the resource was created.public Date getCreatedAt()
The Unix epoch timestamp in seconds for when the resource was created.
public StreamingSessionStream withCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the resource was created.
createdAt
- The Unix epoch timestamp in seconds for when the resource was created.public void setCreatedBy(String createdBy)
The user ID of the user that created the streaming session stream.
createdBy
- The user ID of the user that created the streaming session stream.public String getCreatedBy()
The user ID of the user that created the streaming session stream.
public StreamingSessionStream withCreatedBy(String createdBy)
The user ID of the user that created the streaming session stream.
createdBy
- The user ID of the user that created the streaming session stream.public void setExpiresAt(Date expiresAt)
The Unix epoch timestamp in seconds for when the resource expires.
expiresAt
- The Unix epoch timestamp in seconds for when the resource expires.public Date getExpiresAt()
The Unix epoch timestamp in seconds for when the resource expires.
public StreamingSessionStream withExpiresAt(Date expiresAt)
The Unix epoch timestamp in seconds for when the resource expires.
expiresAt
- The Unix epoch timestamp in seconds for when the resource expires.public void setOwnedBy(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.
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 String getOwnedBy()
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 StreamingSessionStream withOwnedBy(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.
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 void setState(String state)
The current state.
state
- The current state.StreamingSessionStreamState
public String getState()
The current state.
StreamingSessionStreamState
public StreamingSessionStream withState(String state)
The current state.
state
- The current state.StreamingSessionStreamState
public StreamingSessionStream withState(StreamingSessionStreamState state)
The current state.
state
- The current state.StreamingSessionStreamState
public void setStatusCode(String statusCode)
The streaming session stream status code.
statusCode
- The streaming session stream status code.StreamingSessionStreamStatusCode
public String getStatusCode()
The streaming session stream status code.
StreamingSessionStreamStatusCode
public StreamingSessionStream withStatusCode(String statusCode)
The streaming session stream status code.
statusCode
- The streaming session stream status code.StreamingSessionStreamStatusCode
public StreamingSessionStream withStatusCode(StreamingSessionStreamStatusCode statusCode)
The streaming session stream status code.
statusCode
- The streaming session stream status code.StreamingSessionStreamStatusCode
public void setStreamId(String streamId)
The stream ID.
streamId
- The stream ID.public String getStreamId()
The stream ID.
public StreamingSessionStream withStreamId(String streamId)
The stream ID.
streamId
- The stream ID.public void setUrl(String url)
The URL to connect to this stream using the DCV client.
url
- The URL to connect to this stream using the DCV client.public String getUrl()
The URL to connect to this stream using the DCV client.
public StreamingSessionStream withUrl(String url)
The URL to connect to this stream using the DCV client.
url
- The URL to connect to this stream using the DCV client.public String toString()
toString
in class Object
Object.toString()
public StreamingSessionStream clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.