@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamingSession extends Object implements Serializable, Cloneable, StructuredPojo
A streaming session is a virtual workstation created using a particular launch profile.
Constructor and Description |
---|
StreamingSession() |
Modifier and Type | Method and Description |
---|---|
StreamingSession |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
StreamingSession |
clearTagsEntries()
Removes all the entries added into Tags.
|
StreamingSession |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the resource.
|
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.
|
String |
getEc2InstanceType()
The EC2 Instance type used for the streaming session.
|
String |
getLaunchProfileId()
The ID of the launch profile used to control access from the streaming session.
|
String |
getOwnedBy()
The user ID of the user that owns the streaming session.
|
String |
getSessionId()
The session ID.
|
Date |
getStartedAt()
The time the session entered START_IN_PROGRESS state.
|
String |
getStartedBy()
The user ID of the user that started the streaming session.
|
String |
getState()
The current state.
|
String |
getStatusCode()
The status code.
|
String |
getStatusMessage()
The status message for the streaming session.
|
Date |
getStopAt()
The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.
|
Date |
getStoppedAt()
The time the session entered STOP_IN_PROGRESS state.
|
String |
getStoppedBy()
The user ID of the user that stopped the streaming session.
|
String |
getStreamingImageId()
The ID of the streaming image.
|
Map<String,String> |
getTags()
A collection of labels, in the form of key:value pairs, that apply to this resource.
|
Date |
getTerminateAt()
The time the streaming session will automatically terminate if not terminated by the user.
|
Date |
getUpdatedAt()
The Unix epoch timestamp in seconds for when the resource was updated.
|
String |
getUpdatedBy()
The user ID of the user that most recently updated the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the resource.
|
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.
|
void |
setEc2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
|
void |
setLaunchProfileId(String launchProfileId)
The ID of the launch profile used to control access from the streaming session.
|
void |
setOwnedBy(String ownedBy)
The user ID of the user that owns the streaming session.
|
void |
setSessionId(String sessionId)
The session ID.
|
void |
setStartedAt(Date startedAt)
The time the session entered START_IN_PROGRESS state.
|
void |
setStartedBy(String startedBy)
The user ID of the user that started the streaming session.
|
void |
setState(String state)
The current state.
|
void |
setStatusCode(String statusCode)
The status code.
|
void |
setStatusMessage(String statusMessage)
The status message for the streaming session.
|
void |
setStopAt(Date stopAt)
The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.
|
void |
setStoppedAt(Date stoppedAt)
The time the session entered STOP_IN_PROGRESS state.
|
void |
setStoppedBy(String stoppedBy)
The user ID of the user that stopped the streaming session.
|
void |
setStreamingImageId(String streamingImageId)
The ID of the streaming image.
|
void |
setTags(Map<String,String> tags)
A collection of labels, in the form of key:value pairs, that apply to this resource.
|
void |
setTerminateAt(Date terminateAt)
The time the streaming session will automatically terminate if not terminated by the user.
|
void |
setUpdatedAt(Date updatedAt)
The Unix epoch timestamp in seconds for when the resource was updated.
|
void |
setUpdatedBy(String updatedBy)
The user ID of the user that most recently updated the resource.
|
String |
toString()
Returns a string representation of this object.
|
StreamingSession |
withArn(String arn)
The ARN of the resource.
|
StreamingSession |
withCreatedAt(Date createdAt)
The Unix epoch timestamp in seconds for when the resource was created.
|
StreamingSession |
withCreatedBy(String createdBy)
The user ID of the user that created the streaming session.
|
StreamingSession |
withEc2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
|
StreamingSession |
withLaunchProfileId(String launchProfileId)
The ID of the launch profile used to control access from the streaming session.
|
StreamingSession |
withOwnedBy(String ownedBy)
The user ID of the user that owns the streaming session.
|
StreamingSession |
withSessionId(String sessionId)
The session ID.
|
StreamingSession |
withStartedAt(Date startedAt)
The time the session entered START_IN_PROGRESS state.
|
StreamingSession |
withStartedBy(String startedBy)
The user ID of the user that started the streaming session.
|
StreamingSession |
withState(StreamingSessionState state)
The current state.
|
StreamingSession |
withState(String state)
The current state.
|
StreamingSession |
withStatusCode(StreamingSessionStatusCode statusCode)
The status code.
|
StreamingSession |
withStatusCode(String statusCode)
The status code.
|
StreamingSession |
withStatusMessage(String statusMessage)
The status message for the streaming session.
|
StreamingSession |
withStopAt(Date stopAt)
The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.
|
StreamingSession |
withStoppedAt(Date stoppedAt)
The time the session entered STOP_IN_PROGRESS state.
|
StreamingSession |
withStoppedBy(String stoppedBy)
The user ID of the user that stopped the streaming session.
|
StreamingSession |
withStreamingImageId(String streamingImageId)
The ID of the streaming image.
|
StreamingSession |
withTags(Map<String,String> tags)
A collection of labels, in the form of key:value pairs, that apply to this resource.
|
StreamingSession |
withTerminateAt(Date terminateAt)
The time the streaming session will automatically terminate if not terminated by the user.
|
StreamingSession |
withUpdatedAt(Date updatedAt)
The Unix epoch timestamp in seconds for when the resource was updated.
|
StreamingSession |
withUpdatedBy(String updatedBy)
The user ID of the user that most recently updated the resource.
|
public void setArn(String arn)
The ARN of the resource.
arn
- The ARN of the resource.public String getArn()
The ARN of the resource.
public StreamingSession withArn(String arn)
The ARN of the resource.
arn
- The ARN of the resource.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 StreamingSession 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.
createdBy
- The user ID of the user that created the streaming session.public String getCreatedBy()
The user ID of the user that created the streaming session.
public StreamingSession withCreatedBy(String createdBy)
The user ID of the user that created the streaming session.
createdBy
- The user ID of the user that created the streaming session.public void setEc2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
ec2InstanceType
- The EC2 Instance type used for the streaming session.public String getEc2InstanceType()
The EC2 Instance type used for the streaming session.
public StreamingSession withEc2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
ec2InstanceType
- The EC2 Instance type used for the streaming session.public void setLaunchProfileId(String launchProfileId)
The ID of the launch profile used to control access from the streaming session.
launchProfileId
- The ID of the launch profile used to control access from the streaming session.public String getLaunchProfileId()
The ID of the launch profile used to control access from the streaming session.
public StreamingSession withLaunchProfileId(String launchProfileId)
The ID of the launch profile used to control access from the streaming session.
launchProfileId
- The ID of the launch profile used to control access from the streaming session.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 StreamingSession 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 setSessionId(String sessionId)
The session ID.
sessionId
- The session ID.public String getSessionId()
The session ID.
public StreamingSession withSessionId(String sessionId)
The session ID.
sessionId
- The session ID.public void setStartedAt(Date startedAt)
The time the session entered START_IN_PROGRESS state.
startedAt
- The time the session entered START_IN_PROGRESS state.public Date getStartedAt()
The time the session entered START_IN_PROGRESS state.
public StreamingSession withStartedAt(Date startedAt)
The time the session entered START_IN_PROGRESS state.
startedAt
- The time the session entered START_IN_PROGRESS state.public void setStartedBy(String startedBy)
The user ID of the user that started the streaming session.
startedBy
- The user ID of the user that started the streaming session.public String getStartedBy()
The user ID of the user that started the streaming session.
public StreamingSession withStartedBy(String startedBy)
The user ID of the user that started the streaming session.
startedBy
- The user ID of the user that started the streaming session.public void setState(String state)
The current state.
state
- The current state.StreamingSessionState
public String getState()
The current state.
StreamingSessionState
public StreamingSession withState(String state)
The current state.
state
- The current state.StreamingSessionState
public StreamingSession withState(StreamingSessionState state)
The current state.
state
- The current state.StreamingSessionState
public void setStatusCode(String statusCode)
The status code.
statusCode
- The status code.StreamingSessionStatusCode
public String getStatusCode()
The status code.
StreamingSessionStatusCode
public StreamingSession withStatusCode(String statusCode)
The status code.
statusCode
- The status code.StreamingSessionStatusCode
public StreamingSession withStatusCode(StreamingSessionStatusCode statusCode)
The status code.
statusCode
- The status code.StreamingSessionStatusCode
public void setStatusMessage(String statusMessage)
The status message for the streaming session.
statusMessage
- The status message for the streaming session.public String getStatusMessage()
The status message for the streaming session.
public StreamingSession withStatusMessage(String statusMessage)
The status message for the streaming session.
statusMessage
- The status message for the streaming session.public void setStopAt(Date stopAt)
The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.
stopAt
- The time the streaming session will automatically be stopped if the user doesn’t stop the session
themselves.public Date getStopAt()
The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.
public StreamingSession withStopAt(Date stopAt)
The time the streaming session will automatically be stopped if the user doesn’t stop the session themselves.
stopAt
- The time the streaming session will automatically be stopped if the user doesn’t stop the session
themselves.public void setStoppedAt(Date stoppedAt)
The time the session entered STOP_IN_PROGRESS state.
stoppedAt
- The time the session entered STOP_IN_PROGRESS state.public Date getStoppedAt()
The time the session entered STOP_IN_PROGRESS state.
public StreamingSession withStoppedAt(Date stoppedAt)
The time the session entered STOP_IN_PROGRESS state.
stoppedAt
- The time the session entered STOP_IN_PROGRESS state.public void setStoppedBy(String stoppedBy)
The user ID of the user that stopped the streaming session.
stoppedBy
- The user ID of the user that stopped the streaming session.public String getStoppedBy()
The user ID of the user that stopped the streaming session.
public StreamingSession withStoppedBy(String stoppedBy)
The user ID of the user that stopped the streaming session.
stoppedBy
- The user ID of the user that stopped the streaming session.public void setStreamingImageId(String streamingImageId)
The ID of the streaming image.
streamingImageId
- The ID of the streaming image.public String getStreamingImageId()
The ID of the streaming image.
public StreamingSession withStreamingImageId(String streamingImageId)
The ID of the streaming image.
streamingImageId
- The ID of the streaming image.public Map<String,String> getTags()
A collection of labels, in the form of key:value pairs, that apply to this resource.
public void setTags(Map<String,String> tags)
A collection of labels, in the form of key:value pairs, that apply to this resource.
tags
- A collection of labels, in the form of key:value pairs, that apply to this resource.public StreamingSession withTags(Map<String,String> tags)
A collection of labels, in the form of key:value pairs, that apply to this resource.
tags
- A collection of labels, in the form of key:value pairs, that apply to this resource.public StreamingSession addTagsEntry(String key, String value)
public StreamingSession clearTagsEntries()
public void setTerminateAt(Date terminateAt)
The time the streaming session will automatically terminate if not terminated by the user.
terminateAt
- The time the streaming session will automatically terminate if not terminated by the user.public Date getTerminateAt()
The time the streaming session will automatically terminate if not terminated by the user.
public StreamingSession withTerminateAt(Date terminateAt)
The time the streaming session will automatically terminate if not terminated by the user.
terminateAt
- The time the streaming session will automatically terminate if not terminated by the user.public void setUpdatedAt(Date updatedAt)
The Unix epoch timestamp in seconds for when the resource was updated.
updatedAt
- The Unix epoch timestamp in seconds for when the resource was updated.public Date getUpdatedAt()
The Unix epoch timestamp in seconds for when the resource was updated.
public StreamingSession withUpdatedAt(Date updatedAt)
The Unix epoch timestamp in seconds for when the resource was updated.
updatedAt
- The Unix epoch timestamp in seconds for when the resource was updated.public void setUpdatedBy(String updatedBy)
The user ID of the user that most recently updated the resource.
updatedBy
- The user ID of the user that most recently updated the resource.public String getUpdatedBy()
The user ID of the user that most recently updated the resource.
public StreamingSession withUpdatedBy(String updatedBy)
The user ID of the user that most recently updated the resource.
updatedBy
- The user ID of the user that most recently updated the resource.public String toString()
toString
in class Object
Object.toString()
public StreamingSession clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.