Class BastionSessionStateInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.BastionSessionStateInner

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

    • BastionSessionStateInner

      public BastionSessionStateInner()
      Creates an instance of BastionSessionStateInner class.
  • Method Details

    • 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.