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).
|
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.
|
void |
validate()
Validates the instance.
|
ConnectionMonitorEndpoint |
withAddress(String address)
Set the address property: Address of the connection monitor endpoint (IP or domain name).
|
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.
|
public String name()
public ConnectionMonitorEndpoint withName(String name)
name - the name 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 void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.