Class ConnectionMonitorEndpoint
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ConnectionMonitorEndpoint
-
public final class ConnectionMonitorEndpoint extends Object
Describes the connection monitor endpoint.
-
-
Constructor Summary
Constructors Constructor Description ConnectionMonitorEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()Get the address property: Address of the connection monitor endpoint (IP or domain name).CoverageLevelcoverageLevel()Get the coverageLevel property: Test coverage for the endpoint.ConnectionMonitorEndpointFilterfilter()Get the filter property: Filter for sub-items within the endpoint.Stringname()Get the name property: The name of the connection monitor endpoint.StringresourceId()Get the resourceId property: Resource ID of the connection monitor endpoint.ConnectionMonitorEndpointScopescope()Get the scope property: Endpoint scope.EndpointTypetype()Get the type property: The endpoint type.voidvalidate()Validates the instance.ConnectionMonitorEndpointwithAddress(String address)Set the address property: Address of the connection monitor endpoint (IP or domain name).ConnectionMonitorEndpointwithCoverageLevel(CoverageLevel coverageLevel)Set the coverageLevel property: Test coverage for the endpoint.ConnectionMonitorEndpointwithFilter(ConnectionMonitorEndpointFilter filter)Set the filter property: Filter for sub-items within the endpoint.ConnectionMonitorEndpointwithName(String name)Set the name property: The name of the connection monitor endpoint.ConnectionMonitorEndpointwithResourceId(String resourceId)Set the resourceId property: Resource ID of the connection monitor endpoint.ConnectionMonitorEndpointwithScope(ConnectionMonitorEndpointScope scope)Set the scope property: Endpoint scope.ConnectionMonitorEndpointwithType(EndpointType type)Set the type property: The endpoint type.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the connection monitor endpoint.- Returns:
- the name value.
-
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.
-
type
public EndpointType type()
Get the type property: The endpoint type.- Returns:
- the type value.
-
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.
-
resourceId
public String resourceId()
Get the resourceId property: Resource ID of the connection monitor endpoint.- Returns:
- the resourceId value.
-
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.
-
address
public String address()
Get the address property: Address of the connection monitor endpoint (IP or domain name).- Returns:
- the address value.
-
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.
-
filter
public ConnectionMonitorEndpointFilter filter()
Get the filter property: Filter for sub-items within the endpoint.- Returns:
- the filter value.
-
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.
-
scope
public ConnectionMonitorEndpointScope scope()
Get the scope property: Endpoint scope.- Returns:
- the scope value.
-
withScope
public ConnectionMonitorEndpoint withScope(ConnectionMonitorEndpointScope scope)
Set the scope property: Endpoint scope.- Parameters:
scope- the scope value to set.- Returns:
- the ConnectionMonitorEndpoint object itself.
-
coverageLevel
public CoverageLevel coverageLevel()
Get the coverageLevel property: Test coverage for the endpoint.- Returns:
- the coverageLevel value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-