@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Session extends Object implements Serializable, Cloneable, StructuredPojo
Describes a web-based, remote graphical user interface (GUI), NICE DCV session. The session is used to access a virtual computer’s operating system or application.
| Constructor and Description |
|---|
Session() |
| Modifier and Type | Method and Description |
|---|---|
Session |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsPrimary()
When true, this Boolean value indicates the primary session for the specified resource.
|
String |
getName()
The session name.
|
String |
getUrl()
The session URL.
|
int |
hashCode() |
Boolean |
isPrimary()
When true, this Boolean value indicates the primary session for the specified resource.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setIsPrimary(Boolean isPrimary)
When true, this Boolean value indicates the primary session for the specified resource.
|
void |
setName(String name)
The session name.
|
void |
setUrl(String url)
The session URL.
|
String |
toString()
Returns a string representation of this object.
|
Session |
withIsPrimary(Boolean isPrimary)
When true, this Boolean value indicates the primary session for the specified resource.
|
Session |
withName(String name)
The session name.
|
Session |
withUrl(String url)
The session URL.
|
public void setName(String name)
The session name.
name - The session name.public String getName()
The session name.
public Session withName(String name)
The session name.
name - The session name.public void setUrl(String url)
The session URL.
url - The session URL.public String getUrl()
The session URL.
public Session withUrl(String url)
The session URL.
url - The session URL.public void setIsPrimary(Boolean isPrimary)
When true, this Boolean value indicates the primary session for the specified resource.
isPrimary - When true, this Boolean value indicates the primary session for the specified resource.public Boolean getIsPrimary()
When true, this Boolean value indicates the primary session for the specified resource.
public Session withIsPrimary(Boolean isPrimary)
When true, this Boolean value indicates the primary session for the specified resource.
isPrimary - When true, this Boolean value indicates the primary session for the specified resource.public Boolean isPrimary()
When true, this Boolean value indicates the primary session for the specified resource.
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.