@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkspacesPoolSession extends Object implements Serializable, Cloneable, StructuredPojo
Describes a pool session.
Constructor and Description |
---|
WorkspacesPoolSession() |
Modifier and Type | Method and Description |
---|---|
WorkspacesPoolSession |
clone() |
boolean |
equals(Object obj) |
String |
getAuthenticationType()
The authentication method.
|
String |
getConnectionState()
Specifies whether a user is connected to the pool session.
|
Date |
getExpirationTime()
The time that the pool session ended.
|
String |
getInstanceId()
The identifier for the instance hosting the session.
|
NetworkAccessConfiguration |
getNetworkAccessConfiguration()
Describes the network details of the pool.
|
String |
getPoolId()
The identifier of the pool.
|
String |
getSessionId()
The identifier of the session.
|
Date |
getStartTime()
The time that the pool sission started.
|
String |
getUserId()
The identifier of the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthenticationType(String authenticationType)
The authentication method.
|
void |
setConnectionState(String connectionState)
Specifies whether a user is connected to the pool session.
|
void |
setExpirationTime(Date expirationTime)
The time that the pool session ended.
|
void |
setInstanceId(String instanceId)
The identifier for the instance hosting the session.
|
void |
setNetworkAccessConfiguration(NetworkAccessConfiguration networkAccessConfiguration)
Describes the network details of the pool.
|
void |
setPoolId(String poolId)
The identifier of the pool.
|
void |
setSessionId(String sessionId)
The identifier of the session.
|
void |
setStartTime(Date startTime)
The time that the pool sission started.
|
void |
setUserId(String userId)
The identifier of the user.
|
String |
toString()
Returns a string representation of this object.
|
WorkspacesPoolSession |
withAuthenticationType(AuthenticationType authenticationType)
The authentication method.
|
WorkspacesPoolSession |
withAuthenticationType(String authenticationType)
The authentication method.
|
WorkspacesPoolSession |
withConnectionState(SessionConnectionState connectionState)
Specifies whether a user is connected to the pool session.
|
WorkspacesPoolSession |
withConnectionState(String connectionState)
Specifies whether a user is connected to the pool session.
|
WorkspacesPoolSession |
withExpirationTime(Date expirationTime)
The time that the pool session ended.
|
WorkspacesPoolSession |
withInstanceId(String instanceId)
The identifier for the instance hosting the session.
|
WorkspacesPoolSession |
withNetworkAccessConfiguration(NetworkAccessConfiguration networkAccessConfiguration)
Describes the network details of the pool.
|
WorkspacesPoolSession |
withPoolId(String poolId)
The identifier of the pool.
|
WorkspacesPoolSession |
withSessionId(String sessionId)
The identifier of the session.
|
WorkspacesPoolSession |
withStartTime(Date startTime)
The time that the pool sission started.
|
WorkspacesPoolSession |
withUserId(String userId)
The identifier of the user.
|
public void setAuthenticationType(String authenticationType)
The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
authenticationType
- The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0
federation (SAML).AuthenticationType
public String getAuthenticationType()
The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
AuthenticationType
public WorkspacesPoolSession withAuthenticationType(String authenticationType)
The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
authenticationType
- The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0
federation (SAML).AuthenticationType
public WorkspacesPoolSession withAuthenticationType(AuthenticationType authenticationType)
The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
authenticationType
- The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0
federation (SAML).AuthenticationType
public void setConnectionState(String connectionState)
Specifies whether a user is connected to the pool session.
connectionState
- Specifies whether a user is connected to the pool session.SessionConnectionState
public String getConnectionState()
Specifies whether a user is connected to the pool session.
SessionConnectionState
public WorkspacesPoolSession withConnectionState(String connectionState)
Specifies whether a user is connected to the pool session.
connectionState
- Specifies whether a user is connected to the pool session.SessionConnectionState
public WorkspacesPoolSession withConnectionState(SessionConnectionState connectionState)
Specifies whether a user is connected to the pool session.
connectionState
- Specifies whether a user is connected to the pool session.SessionConnectionState
public void setSessionId(String sessionId)
The identifier of the session.
sessionId
- The identifier of the session.public String getSessionId()
The identifier of the session.
public WorkspacesPoolSession withSessionId(String sessionId)
The identifier of the session.
sessionId
- The identifier of the session.public void setInstanceId(String instanceId)
The identifier for the instance hosting the session.
instanceId
- The identifier for the instance hosting the session.public String getInstanceId()
The identifier for the instance hosting the session.
public WorkspacesPoolSession withInstanceId(String instanceId)
The identifier for the instance hosting the session.
instanceId
- The identifier for the instance hosting the session.public void setPoolId(String poolId)
The identifier of the pool.
poolId
- The identifier of the pool.public String getPoolId()
The identifier of the pool.
public WorkspacesPoolSession withPoolId(String poolId)
The identifier of the pool.
poolId
- The identifier of the pool.public void setExpirationTime(Date expirationTime)
The time that the pool session ended.
expirationTime
- The time that the pool session ended.public Date getExpirationTime()
The time that the pool session ended.
public WorkspacesPoolSession withExpirationTime(Date expirationTime)
The time that the pool session ended.
expirationTime
- The time that the pool session ended.public void setNetworkAccessConfiguration(NetworkAccessConfiguration networkAccessConfiguration)
Describes the network details of the pool.
networkAccessConfiguration
- Describes the network details of the pool.public NetworkAccessConfiguration getNetworkAccessConfiguration()
Describes the network details of the pool.
public WorkspacesPoolSession withNetworkAccessConfiguration(NetworkAccessConfiguration networkAccessConfiguration)
Describes the network details of the pool.
networkAccessConfiguration
- Describes the network details of the pool.public void setStartTime(Date startTime)
The time that the pool sission started.
startTime
- The time that the pool sission started.public Date getStartTime()
The time that the pool sission started.
public WorkspacesPoolSession withStartTime(Date startTime)
The time that the pool sission started.
startTime
- The time that the pool sission started.public void setUserId(String userId)
The identifier of the user.
userId
- The identifier of the user.public String getUserId()
The identifier of the user.
public WorkspacesPoolSession withUserId(String userId)
The identifier of the user.
userId
- The identifier of the user.public String toString()
toString
in class Object
Object.toString()
public WorkspacesPoolSession clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.