ConnectionMonitorEndpoint Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectionMonitorEndpoint
- com.
public final class ConnectionMonitorEndpoint
Describes the connection monitor endpoint.
Constructor Summary
Constructor | Description |
---|---|
ConnectionMonitorEndpoint() |
Creates an instance of Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
address()
Get the address property: Address of the connection monitor endpoint (IP or domain name). |
Coverage |
coverageLevel()
Get the coverage |
Connection |
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 resource |
Connection |
scope()
Get the scope property: Endpoint scope. |
Endpoint |
type()
Get the type property: The endpoint type. |
void |
validate()
Validates the instance. |
Connection |
withAddress(String address)
Set the address property: Address of the connection monitor endpoint (IP or domain name). |
Connection |
withCoverageLevel(CoverageLevel coverageLevel)
Set the coverage |
Connection |
withFilter(ConnectionMonitorEndpointFilter filter)
Set the filter property: Filter for sub-items within the endpoint. |
Connection |
withName(String name)
Set the name property: The name of the connection monitor endpoint. |
Connection |
withResourceId(String resourceId)
Set the resource |
Connection |
withScope(ConnectionMonitorEndpointScope scope)
Set the scope property: Endpoint scope. |
Connection |
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:
coverageLevel
public CoverageLevel coverageLevel()
Get the coverageLevel property: Test coverage for the endpoint.
Returns:
filter
public ConnectionMonitorEndpointFilter filter()
Get the filter property: Filter for sub-items within the endpoint.
Returns:
name
public String name()
Get the name property: The name of the connection monitor endpoint.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Resource ID of the connection monitor endpoint.
Returns:
scope
public ConnectionMonitorEndpointScope scope()
Get the scope property: Endpoint scope.
Returns:
type
public EndpointType type()
Get the type property: The endpoint type.
Returns:
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:
Returns:
withCoverageLevel
public ConnectionMonitorEndpoint withCoverageLevel(CoverageLevel coverageLevel)
Set the coverageLevel property: Test coverage for the endpoint.
Parameters:
Returns:
withFilter
public ConnectionMonitorEndpoint withFilter(ConnectionMonitorEndpointFilter filter)
Set the filter property: Filter for sub-items within the endpoint.
Parameters:
Returns:
withName
public ConnectionMonitorEndpoint withName(String name)
Set the name property: The name of the connection monitor endpoint.
Parameters:
Returns:
withResourceId
public ConnectionMonitorEndpoint withResourceId(String resourceId)
Set the resourceId property: Resource ID of the connection monitor endpoint.
Parameters:
Returns:
withScope
public ConnectionMonitorEndpoint withScope(ConnectionMonitorEndpointScope scope)
Set the scope property: Endpoint scope.
Parameters:
Returns:
withType
public ConnectionMonitorEndpoint withType(EndpointType type)
Set the type property: The endpoint type.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for