ConnectionMonitorEndpointScope Class

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

Implements

public final class ConnectionMonitorEndpointScope
implements JsonSerializable<ConnectionMonitorEndpointScope>

Describes the connection monitor endpoint scope.

Constructor Summary

Constructor Description
ConnectionMonitorEndpointScope()

Creates an instance of ConnectionMonitorEndpointScope class.

Method Summary

Modifier and Type Method and Description
List<ConnectionMonitorEndpointScopeItem> exclude()

Get the exclude property: List of items which needs to be excluded from the endpoint scope.

static ConnectionMonitorEndpointScope fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorEndpointScope from the JsonReader.

List<ConnectionMonitorEndpointScopeItem> include()

Get the include property: List of items which needs to be included to the endpoint scope.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectionMonitorEndpointScope withExclude(List<ConnectionMonitorEndpointScopeItem> exclude)

Set the exclude property: List of items which needs to be excluded from the endpoint scope.

ConnectionMonitorEndpointScope withInclude(List<ConnectionMonitorEndpointScopeItem> include)

Set the include property: List of items which needs to be included to the endpoint scope.

Methods inherited from java.lang.Object

Constructor Details

ConnectionMonitorEndpointScope

public ConnectionMonitorEndpointScope()

Creates an instance of ConnectionMonitorEndpointScope class.

Method Details

exclude

public List exclude()

Get the exclude property: List of items which needs to be excluded from the endpoint scope.

Returns:

the exclude value.

fromJson

public static ConnectionMonitorEndpointScope fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorEndpointScope from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

include

public List include()

Get the include property: List of items which needs to be included to the endpoint scope.

Returns:

the include value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withExclude

public ConnectionMonitorEndpointScope withExclude(List exclude)

Set the exclude property: List of items which needs to be excluded from the endpoint scope.

Parameters:

exclude - the exclude value to set.

Returns:

the ConnectionMonitorEndpointScope object itself.

withInclude

public ConnectionMonitorEndpointScope withInclude(List include)

Set the include property: List of items which needs to be included to the endpoint scope.

Parameters:

include - the include value to set.

Returns:

the ConnectionMonitorEndpointScope object itself.

Applies to