Class WorkspacesPoolSession
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.WorkspacesPoolSession
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkspacesPoolSession.Builder,WorkspacesPoolSession>
@Generated("software.amazon.awssdk:codegen") public final class WorkspacesPoolSession extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkspacesPoolSession.Builder,WorkspacesPoolSession>
Describes a pool session.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkspacesPoolSession.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationTypeauthenticationType()The authentication method.StringauthenticationTypeAsString()The authentication method.static WorkspacesPoolSession.Builderbuilder()SessionConnectionStateconnectionState()Specifies whether a user is connected to the pool session.StringconnectionStateAsString()Specifies whether a user is connected to the pool session.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantexpirationTime()The time that the pool session ended.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The identifier for the instance hosting the session.NetworkAccessConfigurationnetworkAccessConfiguration()Describes the network details of the pool.StringpoolId()The identifier of the pool.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WorkspacesPoolSession.Builder>serializableBuilderClass()StringsessionId()The identifier of the session.InstantstartTime()The time that the pool sission started.WorkspacesPoolSession.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringuserId()The identifier of the user.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
authenticationType
public final AuthenticationType 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,
authenticationTypewill 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:
AuthenticationType
-
authenticationTypeAsString
public final String 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,
authenticationTypewill 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:
AuthenticationType
-
connectionState
public final SessionConnectionState 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,
connectionStatewill 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:
SessionConnectionState
-
connectionStateAsString
public final String 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,
connectionStatewill 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:
SessionConnectionState
-
sessionId
public final String sessionId()
The identifier of the session.
- Returns:
- The identifier of the session.
-
instanceId
public final String instanceId()
The identifier for the instance hosting the session.
- Returns:
- The identifier for the instance hosting the session.
-
poolId
public final String poolId()
The identifier of the pool.
- Returns:
- The identifier of the pool.
-
expirationTime
public final Instant expirationTime()
The time that the pool session ended.
- Returns:
- The time that the pool session ended.
-
networkAccessConfiguration
public final NetworkAccessConfiguration networkAccessConfiguration()
Describes the network details of the pool.
- Returns:
- Describes the network details of the pool.
-
startTime
public final Instant startTime()
The time that the pool sission started.
- Returns:
- The time that the pool sission started.
-
userId
public final String userId()
The identifier of the user.
- Returns:
- The identifier of the user.
-
toBuilder
public WorkspacesPoolSession.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkspacesPoolSession.Builder,WorkspacesPoolSession>
-
builder
public static WorkspacesPoolSession.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkspacesPoolSession.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-