public final class ConnectionMonitorEndpoint extends Object
| Constructor and Description |
|---|
ConnectionMonitorEndpoint() |
| 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.
|
public String name()
public ConnectionMonitorEndpoint withName(String name)
name - the name value to set.public EndpointType type()
public ConnectionMonitorEndpoint withType(EndpointType type)
type - the type value to set.public String resourceId()
public ConnectionMonitorEndpoint withResourceId(String resourceId)
resourceId - the resourceId value to set.public String address()
public ConnectionMonitorEndpoint withAddress(String address)
address - the address value to set.public ConnectionMonitorEndpointFilter filter()
public ConnectionMonitorEndpoint withFilter(ConnectionMonitorEndpointFilter filter)
filter - the filter value to set.public ConnectionMonitorEndpointScope scope()
public ConnectionMonitorEndpoint withScope(ConnectionMonitorEndpointScope scope)
scope - the scope value to set.public CoverageLevel coverageLevel()
public ConnectionMonitorEndpoint withCoverageLevel(CoverageLevel coverageLevel)
coverageLevel - the coverageLevel value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.