Class ConnectionMonitorEndpoint
java.lang.Object
com.azure.resourcemanager.network.models.ConnectionMonitorEndpoint
Describes the connection monitor endpoint.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectionMonitorEndpoint class. -
Method Summary
Modifier and TypeMethodDescriptionaddress()Get the address property: Address of the connection monitor endpoint (IP or domain name).Get the coverageLevel property: Test coverage for the endpoint.filter()Get the filter property: Filter for sub-items within the endpoint.name()Get the name property: The name of the connection monitor endpoint.Get the resourceId property: Resource ID of the connection monitor endpoint.scope()Get the scope property: Endpoint scope.type()Get the type property: The endpoint type.voidvalidate()Validates the instance.withAddress(String address) Set the address property: Address of the connection monitor endpoint (IP or domain name).withCoverageLevel(CoverageLevel coverageLevel) Set the coverageLevel property: Test coverage for the endpoint.Set the filter property: Filter for sub-items within the endpoint.Set the name property: The name of the connection monitor endpoint.withResourceId(String resourceId) Set the resourceId property: Resource ID of the connection monitor endpoint.Set the scope property: Endpoint scope.withType(EndpointType type) Set the type property: The endpoint type.
-
Constructor Details
-
ConnectionMonitorEndpoint
public ConnectionMonitorEndpoint()Creates an instance of ConnectionMonitorEndpoint class.
-
-
Method Details
-
name
Get the name property: The name of the connection monitor endpoint.- Returns:
- the name value.
-
withName
Set the name property: The name of the connection monitor endpoint.- Parameters:
name- the name value to set.- Returns:
- the ConnectionMonitorEndpoint object itself.
-
type
Get the type property: The endpoint type.- Returns:
- the type value.
-
withType
Set the type property: The endpoint type.- Parameters:
type- the type value to set.- Returns:
- the ConnectionMonitorEndpoint object itself.
-
resourceId
Get the resourceId property: Resource ID of the connection monitor endpoint.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: Resource ID of the connection monitor endpoint.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the ConnectionMonitorEndpoint object itself.
-
address
Get the address property: Address of the connection monitor endpoint (IP or domain name).- Returns:
- the address value.
-
withAddress
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.
-
filter
Get the filter property: Filter for sub-items within the endpoint.- Returns:
- the filter value.
-
withFilter
Set the filter property: Filter for sub-items within the endpoint.- Parameters:
filter- the filter value to set.- Returns:
- the ConnectionMonitorEndpoint object itself.
-
scope
Get the scope property: Endpoint scope.- Returns:
- the scope value.
-
withScope
Set the scope property: Endpoint scope.- Parameters:
scope- the scope value to set.- Returns:
- the ConnectionMonitorEndpoint object itself.
-
coverageLevel
Get the coverageLevel property: Test coverage for the endpoint.- Returns:
- the coverageLevel value.
-
withCoverageLevel
Set the coverageLevel property: Test coverage for the endpoint.- Parameters:
coverageLevel- the coverageLevel value to set.- Returns:
- the ConnectionMonitorEndpoint object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-