public final class ConnectionMonitorTcpConfiguration extends Object
| Constructor and Description |
|---|
ConnectionMonitorTcpConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
disableTraceRoute()
Get the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.
|
Integer |
port()
Get the port property: The port to connect to.
|
void |
validate()
Validates the instance.
|
ConnectionMonitorTcpConfiguration |
withDisableTraceRoute(Boolean disableTraceRoute)
Set the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.
|
ConnectionMonitorTcpConfiguration |
withPort(Integer port)
Set the port property: The port to connect to.
|
public Integer port()
public ConnectionMonitorTcpConfiguration withPort(Integer port)
port - the port value to set.public Boolean disableTraceRoute()
public ConnectionMonitorTcpConfiguration withDisableTraceRoute(Boolean disableTraceRoute)
disableTraceRoute - the disableTraceRoute value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.