@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Session extends Object implements Serializable, Cloneable, StructuredPojo
Contains the parameters for a streaming session.
| Constructor and Description |
|---|
Session() |
| Modifier and Type | Method and Description |
|---|---|
Session |
clone() |
boolean |
equals(Object obj) |
String |
getAuthenticationType()
The authentication method of the user for whom the session was created.
|
String |
getFleetName()
The name of the fleet for which the streaming session was created.
|
String |
getId()
The unique ID for a streaming session.
|
String |
getStackName()
The name of the stack for which the streaming session was created.
|
String |
getState()
The current state of the streaming session.
|
String |
getUserId()
The identifier of the user for whom the session was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAuthenticationType(AuthenticationType authenticationType)
The authentication method of the user for whom the session was created.
|
void |
setAuthenticationType(String authenticationType)
The authentication method of the user for whom the session was created.
|
void |
setFleetName(String fleetName)
The name of the fleet for which the streaming session was created.
|
void |
setId(String id)
The unique ID for a streaming session.
|
void |
setStackName(String stackName)
The name of the stack for which the streaming session was created.
|
void |
setState(SessionState state)
The current state of the streaming session.
|
void |
setState(String state)
The current state of the streaming session.
|
void |
setUserId(String userId)
The identifier of the user for whom the session was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Session |
withAuthenticationType(AuthenticationType authenticationType)
The authentication method of the user for whom the session was created.
|
Session |
withAuthenticationType(String authenticationType)
The authentication method of the user for whom the session was created.
|
Session |
withFleetName(String fleetName)
The name of the fleet for which the streaming session was created.
|
Session |
withId(String id)
The unique ID for a streaming session.
|
Session |
withStackName(String stackName)
The name of the stack for which the streaming session was created.
|
Session |
withState(SessionState state)
The current state of the streaming session.
|
Session |
withState(String state)
The current state of the streaming session.
|
Session |
withUserId(String userId)
The identifier of the user for whom the session was created.
|
public void setId(String id)
The unique ID for a streaming session.
id - The unique ID for a streaming session.public String getId()
The unique ID for a streaming session.
public Session withId(String id)
The unique ID for a streaming session.
id - The unique ID for a streaming session.public void setUserId(String userId)
The identifier of the user for whom the session was created.
userId - The identifier of the user for whom the session was created.public String getUserId()
The identifier of the user for whom the session was created.
public Session withUserId(String userId)
The identifier of the user for whom the session was created.
userId - The identifier of the user for whom the session was created.public void setStackName(String stackName)
The name of the stack for which the streaming session was created.
stackName - The name of the stack for which the streaming session was created.public String getStackName()
The name of the stack for which the streaming session was created.
public Session withStackName(String stackName)
The name of the stack for which the streaming session was created.
stackName - The name of the stack for which the streaming session was created.public void setFleetName(String fleetName)
The name of the fleet for which the streaming session was created.
fleetName - The name of the fleet for which the streaming session was created.public String getFleetName()
The name of the fleet for which the streaming session was created.
public Session withFleetName(String fleetName)
The name of the fleet for which the streaming session was created.
fleetName - The name of the fleet for which the streaming session was created.public void setState(String state)
The current state of the streaming session.
state - The current state of the streaming session.SessionStatepublic String getState()
The current state of the streaming session.
SessionStatepublic Session withState(String state)
The current state of the streaming session.
state - The current state of the streaming session.SessionStatepublic void setState(SessionState state)
The current state of the streaming session.
state - The current state of the streaming session.SessionStatepublic Session withState(SessionState state)
The current state of the streaming session.
state - The current state of the streaming session.SessionStatepublic void setAuthenticationType(String authenticationType)
The authentication method of the user for whom the session was created. It can be API for a user
authenticated using a streaming url or SAML for a SAML federated user.
authenticationType - The authentication method of the user for whom the session was created. It can be API for a
user authenticated using a streaming url or SAML for a SAML federated user.AuthenticationTypepublic String getAuthenticationType()
The authentication method of the user for whom the session was created. It can be API for a user
authenticated using a streaming url or SAML for a SAML federated user.
API for a
user authenticated using a streaming url or SAML for a SAML federated user.AuthenticationTypepublic Session withAuthenticationType(String authenticationType)
The authentication method of the user for whom the session was created. It can be API for a user
authenticated using a streaming url or SAML for a SAML federated user.
authenticationType - The authentication method of the user for whom the session was created. It can be API for a
user authenticated using a streaming url or SAML for a SAML federated user.AuthenticationTypepublic void setAuthenticationType(AuthenticationType authenticationType)
The authentication method of the user for whom the session was created. It can be API for a user
authenticated using a streaming url or SAML for a SAML federated user.
authenticationType - The authentication method of the user for whom the session was created. It can be API for a
user authenticated using a streaming url or SAML for a SAML federated user.AuthenticationTypepublic Session withAuthenticationType(AuthenticationType authenticationType)
The authentication method of the user for whom the session was created. It can be API for a user
authenticated using a streaming url or SAML for a SAML federated user.
authenticationType - The authentication method of the user for whom the session was created. It can be API for a
user authenticated using a streaming url or SAML for a SAML federated user.AuthenticationTypepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.