ConnectionMonitorEndpoint Class

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

public final class ConnectionMonitorEndpoint

Describes the connection monitor endpoint.

Constructor Summary

Constructor Description
ConnectionMonitorEndpoint()

Creates an instance of ConnectionMonitorEndpoint class.

Method Summary

Modifier and Type Method and Description
String address()

Get the address property: Address of the connection monitor endpoint (IP or domain name).

CoverageLevel coverageLevel()

Get the coverageLevel property: Test coverage for the endpoint.

ConnectionMonitorEndpointFilter filter()

Get the filter property: Filter for sub-items within the endpoint.

String name()

Get the name property: The name of the connection monitor endpoint.

String resourceId()

Get the resourceId property: Resource ID of the connection monitor endpoint.

ConnectionMonitorEndpointScope scope()

Get the scope property: Endpoint scope.

EndpointType type()

Get the type property: The endpoint type.

void validate()

Validates the instance.

ConnectionMonitorEndpoint withAddress(String address)

Set the address property: Address of the connection monitor endpoint (IP or domain name).

ConnectionMonitorEndpoint withCoverageLevel(CoverageLevel coverageLevel)

Set the coverageLevel property: Test coverage for the endpoint.

ConnectionMonitorEndpoint withFilter(ConnectionMonitorEndpointFilter filter)

Set the filter property: Filter for sub-items within the endpoint.

ConnectionMonitorEndpoint withName(String name)

Set the name property: The name of the connection monitor endpoint.

ConnectionMonitorEndpoint withResourceId(String resourceId)

Set the resourceId property: Resource ID of the connection monitor endpoint.

ConnectionMonitorEndpoint withScope(ConnectionMonitorEndpointScope scope)

Set the scope property: Endpoint scope.

ConnectionMonitorEndpoint withType(EndpointType type)

Set the type property: The endpoint type.

Methods inherited from java.lang.Object

Constructor Details

ConnectionMonitorEndpoint

public ConnectionMonitorEndpoint()

Creates an instance of ConnectionMonitorEndpoint class.

Method Details

address

public String address()

Get the address property: Address of the connection monitor endpoint (IP or domain name).

Returns:

the address value.

coverageLevel

public CoverageLevel coverageLevel()

Get the coverageLevel property: Test coverage for the endpoint.

Returns:

the coverageLevel value.

filter

public ConnectionMonitorEndpointFilter filter()

Get the filter property: Filter for sub-items within the endpoint.

Returns:

the filter value.

name

public String name()

Get the name property: The name of the connection monitor endpoint.

Returns:

the name value.

resourceId

public String resourceId()

Get the resourceId property: Resource ID of the connection monitor endpoint.

Returns:

the resourceId value.

scope

public ConnectionMonitorEndpointScope scope()

Get the scope property: Endpoint scope.

Returns:

the scope value.

type

public EndpointType type()

Get the type property: The endpoint type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAddress

public ConnectionMonitorEndpoint withAddress(String address)

Set the address property: Address of the connection monitor endpoint (IP or domain name).

Parameters:

address - the address value to set.

Returns:

the ConnectionMonitorEndpoint object itself.

withCoverageLevel

public ConnectionMonitorEndpoint withCoverageLevel(CoverageLevel coverageLevel)

Set the coverageLevel property: Test coverage for the endpoint.

Parameters:

coverageLevel - the coverageLevel value to set.

Returns:

the ConnectionMonitorEndpoint object itself.

withFilter

public ConnectionMonitorEndpoint withFilter(ConnectionMonitorEndpointFilter filter)

Set the filter property: Filter for sub-items within the endpoint.

Parameters:

filter - the filter value to set.

Returns:

the ConnectionMonitorEndpoint object itself.

withName

public ConnectionMonitorEndpoint withName(String name)

Set the name property: The name of the connection monitor endpoint.

Parameters:

name - the name value to set.

Returns:

the ConnectionMonitorEndpoint object itself.

withResourceId

public ConnectionMonitorEndpoint withResourceId(String resourceId)

Set the resourceId property: Resource ID of the connection monitor endpoint.

Parameters:

resourceId - the resourceId value to set.

Returns:

the ConnectionMonitorEndpoint object itself.

withScope

public ConnectionMonitorEndpoint withScope(ConnectionMonitorEndpointScope scope)

Set the scope property: Endpoint scope.

Parameters:

scope - the scope value to set.

Returns:

the ConnectionMonitorEndpoint object itself.

withType

public ConnectionMonitorEndpoint withType(EndpointType type)

Set the type property: The endpoint type.

Parameters:

type - the type value to set.

Returns:

the ConnectionMonitorEndpoint object itself.

Applies to