public final class ConnectionMonitorDestination extends Object
| Constructor and Description |
|---|
ConnectionMonitorDestination() |
| Modifier and Type | Method and Description |
|---|---|
String |
address()
Get the address property: Address of the connection monitor destination (IP or domain name).
|
Integer |
port()
Get the port property: The destination port used by connection monitor.
|
String |
resourceId()
Get the resourceId property: The ID of the resource used as the destination by connection monitor.
|
void |
validate()
Validates the instance.
|
ConnectionMonitorDestination |
withAddress(String address)
Set the address property: Address of the connection monitor destination (IP or domain name).
|
ConnectionMonitorDestination |
withPort(Integer port)
Set the port property: The destination port used by connection monitor.
|
ConnectionMonitorDestination |
withResourceId(String resourceId)
Set the resourceId property: The ID of the resource used as the destination by connection monitor.
|
public String resourceId()
public ConnectionMonitorDestination withResourceId(String resourceId)
resourceId - the resourceId value to set.public String address()
public ConnectionMonitorDestination withAddress(String address)
address - the address value to set.public Integer port()
public ConnectionMonitorDestination withPort(Integer port)
port - the port value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.