ConnectionMonitorDestination Class
- java.
lang. Object - com.
microsoft. azure. management. network. ConnectionMonitorDestination
- com.
public class ConnectionMonitorDestination
Describes the destination of connection monitor.
Constructor Summary
Constructor | Description | |
---|---|---|
ConnectionMonitorDestination() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
address()
Get address of the connection monitor destination (IP or domain name). |
java.lang.Integer |
port()
Get the destination port used by connection monitor. |
java.lang.String |
resourceId()
Get the ID of the resource used as the destination by connection monitor. |
Connection |
withAddress(String address)
Set address of the connection monitor destination (IP or domain name). |
Connection |
withPort(Integer port)
Set the destination port used by connection monitor. |
Connection |
withResourceId(String resourceId)
Set the ID of the resource used as the destination by connection monitor. |
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorDestination
public ConnectionMonitorDestination()
Method Details
address
public String address()
Get address of the connection monitor destination (IP or domain name).
Returns:
port
public Integer port()
Get the destination port used by connection monitor.
Returns:
resourceId
public String resourceId()
Get the ID of the resource used as the destination by connection monitor.
Returns:
withAddress
public ConnectionMonitorDestination withAddress(String address)
Set address of the connection monitor destination (IP or domain name).
Parameters:
Returns:
withPort
public ConnectionMonitorDestination withPort(Integer port)
Set the destination port used by connection monitor.
Parameters:
Returns:
withResourceId
public ConnectionMonitorDestination withResourceId(String resourceId)
Set the ID of the resource used as the destination by connection monitor.
Parameters:
Returns:
Applies to
Azure SDK for Java