ConnectionMonitorQueryResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ConnectionMonitorQueryResultInner
- com.
Implements
public final class ConnectionMonitorQueryResultInner
implements JsonSerializable<ConnectionMonitorQueryResultInner>
List of connection states snapshots.
Constructor Summary
Constructor | Description |
---|---|
ConnectionMonitorQueryResultInner() |
Creates an instance of Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
Connection |
sourceStatus()
Get the source |
List<Connection |
states()
Get the states property: Information about connection states. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Connection |
withSourceStatus(ConnectionMonitorSourceStatus sourceStatus)
Set the source |
Connection |
withStates(List<ConnectionStateSnapshot> states)
Set the states property: Information about connection states. |
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorQueryResultInner
public ConnectionMonitorQueryResultInner()
Creates an instance of ConnectionMonitorQueryResultInner class.
Method Details
fromJson
public static ConnectionMonitorQueryResultInner fromJson(JsonReader jsonReader)
Reads an instance of ConnectionMonitorQueryResultInner from the JsonReader.
Parameters:
Returns:
Throws:
sourceStatus
public ConnectionMonitorSourceStatus sourceStatus()
Get the sourceStatus property: Status of connection monitor source.
Returns:
states
public List
Get the states property: Information about connection states.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSourceStatus
public ConnectionMonitorQueryResultInner withSourceStatus(ConnectionMonitorSourceStatus sourceStatus)
Set the sourceStatus property: Status of connection monitor source.
Parameters:
Returns:
withStates
public ConnectionMonitorQueryResultInner withStates(List
Set the states property: Information about connection states.
Parameters:
Returns:
Applies to
Azure SDK for Java