Class BastionSessionStateInner


  • public final class BastionSessionStateInner
    extends Object
    The session state detail for a target.
    • Constructor Detail

      • BastionSessionStateInner

        public BastionSessionStateInner()
    • Method Detail

      • sessionId

        public String sessionId()
        Get the sessionId property: A unique id for the session.
        Returns:
        the sessionId value.
      • message

        public String message()
        Get the message property: Used for extra information.
        Returns:
        the message value.
      • state

        public String state()
        Get the state property: The state of the session. Disconnected/Failed/NotFound.
        Returns:
        the state value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.