Class WorkspacesPoolSession

    • 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, authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from authenticationTypeAsString().

        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, authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from authenticationTypeAsString().

        Returns:
        The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).
        See Also:
        AuthenticationType
      • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)