ConnectionMonitorDestination Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ConnectionMonitorDestination

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.

ConnectionMonitorDestination withAddress(String address)

Set address of the connection monitor destination (IP or domain name).

ConnectionMonitorDestination withPort(Integer port)

Set the destination port used by connection monitor.

ConnectionMonitorDestination withResourceId(String resourceId)

Set the ID of the resource used as the destination by connection monitor.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ConnectionMonitorDestination

public ConnectionMonitorDestination()

Method Details

address

public String address()

Get address of the connection monitor destination (IP or domain name).

Returns:

the address value

port

public Integer port()

Get the destination port used by connection monitor.

Returns:

the port value

resourceId

public String resourceId()

Get the ID of the resource used as the destination by connection monitor.

Returns:

the resourceId value

withAddress

public ConnectionMonitorDestination withAddress(String address)

Set address of the connection monitor destination (IP or domain name).

Parameters:

address - the address value to set

Returns:

the ConnectionMonitorDestination object itself.

withPort

public ConnectionMonitorDestination withPort(Integer port)

Set the destination port used by connection monitor.

Parameters:

port - the port value to set

Returns:

the ConnectionMonitorDestination object itself.

withResourceId

public ConnectionMonitorDestination withResourceId(String resourceId)

Set the ID of the resource used as the destination by connection monitor.

Parameters:

resourceId - the resourceId value to set

Returns:

the ConnectionMonitorDestination object itself.

Applies to