ConnectionMonitorSource Class
- java.
lang. Object - com.
microsoft. azure. management. network. ConnectionMonitorSource
- com.
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. |
Connection |
withPort(Integer port)
Set the source port used by connection monitor. |
Connection |
withResourceId(String resourceId)
Set the ID of the resource used as the source by connection monitor. |
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorSource
public ConnectionMonitorSource()
Method Details
port
public Integer port()
Get the source port used by connection monitor.
Returns:
resourceId
public String resourceId()
Get the ID of the resource used as the source by connection monitor.
Returns:
withPort
public ConnectionMonitorSource withPort(Integer port)
Set the source port used by connection monitor.
Parameters:
Returns:
withResourceId
public ConnectionMonitorSource withResourceId(String resourceId)
Set the ID of the resource used as the source by connection monitor.
Parameters:
Returns:
Applies to
Azure SDK for Java