NetworkMonitorPatch Class

public final class NetworkMonitorPatch
extends TagsUpdate

The Network Monitor Patch resource definition.

Constructor Summary

Constructor Description
NetworkMonitorPatch()

Creates an instance of NetworkMonitorPatch class.

Method Summary

Modifier and Type Method and Description
BmpConfigurationPatchProperties bmpConfiguration()

Get the bmpConfiguration property: BGP Monitoring Protocol (BMP) Configurations for the Network Monitor.

static NetworkMonitorPatch fromJson(JsonReader jsonReader)

Reads an instance of NetworkMonitorPatch from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
NetworkMonitorPatch withBmpConfiguration(BmpConfigurationPatchProperties bmpConfiguration)

Set the bmpConfiguration property: BGP Monitoring Protocol (BMP) Configurations for the Network Monitor.

NetworkMonitorPatch withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from TagsUpdate

Methods inherited from java.lang.Object

Constructor Details

NetworkMonitorPatch

public NetworkMonitorPatch()

Creates an instance of NetworkMonitorPatch class.

Method Details

bmpConfiguration

public BmpConfigurationPatchProperties bmpConfiguration()

Get the bmpConfiguration property: BGP Monitoring Protocol (BMP) Configurations for the Network Monitor.

Returns:

the bmpConfiguration value.

fromJson

public static NetworkMonitorPatch fromJson(JsonReader jsonReader)

Reads an instance of NetworkMonitorPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

NetworkMonitorPatch.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withBmpConfiguration

public NetworkMonitorPatch withBmpConfiguration(BmpConfigurationPatchProperties bmpConfiguration)

Set the bmpConfiguration property: BGP Monitoring Protocol (BMP) Configurations for the Network Monitor.

Parameters:

bmpConfiguration - the bmpConfiguration value to set.

Returns:

the NetworkMonitorPatch object itself.

withTags

public NetworkMonitorPatch withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Overrides:

NetworkMonitorPatch.withTags(Map<String,String> tags)

Parameters:

tags

Applies to