ConnectionMonitorSource Class

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

public class ConnectionMonitorSource

Describes the source of connection monitor.

Constructor Summary

Constructor Description
ConnectionMonitorSource()

Method Summary

Modifier and Type Method and Description
java.lang.Integer port()

Get the source port used by connection monitor.

java.lang.String resourceId()

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

ConnectionMonitorSource withPort(Integer port)

Set the source port used by connection monitor.

ConnectionMonitorSource withResourceId(String resourceId)

Set the ID of the resource used as the source 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

ConnectionMonitorSource

public ConnectionMonitorSource()

Method Details

port

public Integer port()

Get the source port used by connection monitor.

Returns:

the port value

resourceId

public String resourceId()

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

Returns:

the resourceId value

withPort

public ConnectionMonitorSource withPort(Integer port)

Set the source port used by connection monitor.

Parameters:

port - the port value to set

Returns:

the ConnectionMonitorSource object itself.

withResourceId

public ConnectionMonitorSource withResourceId(String resourceId)

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

Parameters:

resourceId - the resourceId value to set

Returns:

the ConnectionMonitorSource object itself.

Applies to