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 Summary
Constructors Constructor Description BastionSessionStateInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmessage()Get the message property: Used for extra information.StringsessionId()Get the sessionId property: A unique id for the session.Stringstate()Get the state property: The state of the session.voidvalidate()Validates the instance.
-
-
-
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.
-
-