ConnectionMonitorQueryResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ConnectionMonitorQueryResultInner

Implements

public final class ConnectionMonitorQueryResultInner
implements JsonSerializable<ConnectionMonitorQueryResultInner>

List of connection states snapshots.

Constructor Summary

Constructor Description
ConnectionMonitorQueryResultInner()

Creates an instance of ConnectionMonitorQueryResultInner class.

Method Summary

Modifier and Type Method and Description
static ConnectionMonitorQueryResultInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorQueryResultInner from the JsonReader.

ConnectionMonitorSourceStatus sourceStatus()

Get the sourceStatus property: Status of connection monitor source.

List<ConnectionStateSnapshot> states()

Get the states property: Information about connection states.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectionMonitorQueryResultInner withSourceStatus(ConnectionMonitorSourceStatus sourceStatus)

Set the sourceStatus property: Status of connection monitor source.

ConnectionMonitorQueryResultInner 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:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectionMonitorQueryResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ConnectionMonitorQueryResultInner.

sourceStatus

public ConnectionMonitorSourceStatus sourceStatus()

Get the sourceStatus property: Status of connection monitor source.

Returns:

the sourceStatus value.

states

public List states()

Get the states property: Information about connection states.

Returns:

the states value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withSourceStatus

public ConnectionMonitorQueryResultInner withSourceStatus(ConnectionMonitorSourceStatus sourceStatus)

Set the sourceStatus property: Status of connection monitor source.

Parameters:

sourceStatus - the sourceStatus value to set.

Returns:

the ConnectionMonitorQueryResultInner object itself.

withStates

public ConnectionMonitorQueryResultInner withStates(List states)

Set the states property: Information about connection states.

Parameters:

states - the states value to set.

Returns:

the ConnectionMonitorQueryResultInner object itself.

Applies to