ConnectionMonitorEndpointScopeItem Class

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

Implements

public final class ConnectionMonitorEndpointScopeItem
implements JsonSerializable<ConnectionMonitorEndpointScopeItem>

Describes the connection monitor endpoint scope item.

Constructor Summary

Constructor Description
ConnectionMonitorEndpointScopeItem()

Creates an instance of ConnectionMonitorEndpointScopeItem class.

Method Summary

Modifier and Type Method and Description
String address()

Get the address property: The address of the endpoint item.

static ConnectionMonitorEndpointScopeItem fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorEndpointScopeItem from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectionMonitorEndpointScopeItem withAddress(String address)

Set the address property: The address of the endpoint item.

Methods inherited from java.lang.Object

Constructor Details

ConnectionMonitorEndpointScopeItem

public ConnectionMonitorEndpointScopeItem()

Creates an instance of ConnectionMonitorEndpointScopeItem class.

Method Details

address

public String address()

Get the address property: The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.

Returns:

the address value.

fromJson

public static ConnectionMonitorEndpointScopeItem fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorEndpointScopeItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAddress

public ConnectionMonitorEndpointScopeItem withAddress(String address)

Set the address property: The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address.

Parameters:

address - the address value to set.

Returns:

the ConnectionMonitorEndpointScopeItem object itself.

Applies to