BastionSessionStateInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. BastionSessionStateInner
- com.
Implements
public final class BastionSessionStateInner
implements JsonSerializable<BastionSessionStateInner>
The session state detail for a target.
Constructor Summary
Constructor | Description |
---|---|
BastionSessionStateInner() |
Creates an instance of Bastion |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Bastion |
fromJson(JsonReader jsonReader)
Reads an instance of Bastion |
String |
message()
Get the message property: Used for extra information. |
String |
sessionId()
Get the session |
String |
state()
Get the state property: The state of the session. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
BastionSessionStateInner
public BastionSessionStateInner()
Creates an instance of BastionSessionStateInner class.
Method Details
fromJson
public static BastionSessionStateInner fromJson(JsonReader jsonReader)
Reads an instance of BastionSessionStateInner from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Used for extra information.
Returns:
sessionId
public String sessionId()
Get the sessionId property: A unique id for the session.
Returns:
state
public String state()
Get the state property: The state of the session. Disconnected/Failed/NotFound.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java