Class WorkspacesPoolSession
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<WorkspacesPoolSession.Builder,
WorkspacesPoolSession>
Describes a pool session.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AuthenticationType
The authentication method.final String
The authentication method.builder()
final SessionConnectionState
Specifies whether a user is connected to the pool session.final String
Specifies whether a user is connected to the pool session.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Instant
The time that the pool session ended.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
The identifier for the instance hosting the session.Describes the network details of the pool.final String
poolId()
The identifier of the pool.static Class
<? extends WorkspacesPoolSession.Builder> final String
The identifier of the session.final Instant
The time that the pool sission started.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
userId()
The identifier of the user.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
authenticationType
The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
If the service returns an enum value that is not available in the current SDK version,
authenticationType
will returnAuthenticationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromauthenticationTypeAsString()
.- Returns:
- The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
- See Also:
-
authenticationTypeAsString
The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
If the service returns an enum value that is not available in the current SDK version,
authenticationType
will returnAuthenticationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromauthenticationTypeAsString()
.- Returns:
- The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
- See Also:
-
connectionState
Specifies whether a user is connected to the pool session.
If the service returns an enum value that is not available in the current SDK version,
connectionState
will returnSessionConnectionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromconnectionStateAsString()
.- Returns:
- Specifies whether a user is connected to the pool session.
- See Also:
-
connectionStateAsString
Specifies whether a user is connected to the pool session.
If the service returns an enum value that is not available in the current SDK version,
connectionState
will returnSessionConnectionState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromconnectionStateAsString()
.- Returns:
- Specifies whether a user is connected to the pool session.
- See Also:
-
sessionId
The identifier of the session.
- Returns:
- The identifier of the session.
-
instanceId
The identifier for the instance hosting the session.
- Returns:
- The identifier for the instance hosting the session.
-
poolId
The identifier of the pool.
- Returns:
- The identifier of the pool.
-
expirationTime
The time that the pool session ended.
- Returns:
- The time that the pool session ended.
-
networkAccessConfiguration
Describes the network details of the pool.
- Returns:
- Describes the network details of the pool.
-
startTime
The time that the pool sission started.
- Returns:
- The time that the pool sission started.
-
userId
The identifier of the user.
- Returns:
- The identifier of the user.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<WorkspacesPoolSession.Builder,
WorkspacesPoolSession> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-