ConnectionMonitorIcmpConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ConnectionMonitorIcmpConfiguration

Implements

public final class ConnectionMonitorIcmpConfiguration
implements JsonSerializable<ConnectionMonitorIcmpConfiguration>

Describes the ICMP configuration.

Constructor Summary

Constructor Description
ConnectionMonitorIcmpConfiguration()

Creates an instance of ConnectionMonitorIcmpConfiguration class.

Method Summary

Modifier and Type Method and Description
Boolean disableTraceRoute()

Get the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.

static ConnectionMonitorIcmpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorIcmpConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectionMonitorIcmpConfiguration withDisableTraceRoute(Boolean disableTraceRoute)

Set the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.

Methods inherited from java.lang.Object

Constructor Details

ConnectionMonitorIcmpConfiguration

public ConnectionMonitorIcmpConfiguration()

Creates an instance of ConnectionMonitorIcmpConfiguration class.

Method Details

disableTraceRoute

public Boolean disableTraceRoute()

Get the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.

Returns:

the disableTraceRoute value.

fromJson

public static ConnectionMonitorIcmpConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorIcmpConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectionMonitorIcmpConfiguration 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 ConnectionMonitorIcmpConfiguration.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDisableTraceRoute

public ConnectionMonitorIcmpConfiguration withDisableTraceRoute(Boolean disableTraceRoute)

Set the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.

Parameters:

disableTraceRoute - the disableTraceRoute value to set.

Returns:

the ConnectionMonitorIcmpConfiguration object itself.

Applies to