public final class ConnectionMonitorSource extends Object
| Constructor and Description |
|---|
ConnectionMonitorSource() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
port()
Get the port property: The source port used by connection monitor.
|
String |
resourceId()
Get the resourceId property: The ID of the resource used as the source by connection monitor.
|
void |
validate()
Validates the instance.
|
ConnectionMonitorSource |
withPort(Integer port)
Set the port property: The source port used by connection monitor.
|
ConnectionMonitorSource |
withResourceId(String resourceId)
Set the resourceId property: The ID of the resource used as the source by connection monitor.
|
public String resourceId()
public ConnectionMonitorSource withResourceId(String resourceId)
resourceId - the resourceId value to set.public Integer port()
public ConnectionMonitorSource 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.