ConnectionMonitorTcpConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectionMonitorTcpConfiguration
- com.
Implements
public final class ConnectionMonitorTcpConfiguration
implements JsonSerializable<ConnectionMonitorTcpConfiguration>
Describes the TCP configuration.
Constructor Summary
Constructor | Description |
---|---|
ConnectionMonitorTcpConfiguration() |
Creates an instance of Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
Destination |
destinationPortBehavior()
Get the destination |
Boolean |
disableTraceRoute()
Get the disable |
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
Integer |
port()
Get the port property: The port to connect to. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Connection |
withDestinationPortBehavior(DestinationPortBehavior destinationPortBehavior)
Set the destination |
Connection |
withDisableTraceRoute(Boolean disableTraceRoute)
Set the disable |
Connection |
withPort(Integer port)
Set the port property: The port to connect to. |
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorTcpConfiguration
public ConnectionMonitorTcpConfiguration()
Creates an instance of ConnectionMonitorTcpConfiguration class.
Method Details
destinationPortBehavior
public DestinationPortBehavior destinationPortBehavior()
Get the destinationPortBehavior property: Destination port behavior.
Returns:
disableTraceRoute
public Boolean disableTraceRoute()
Get the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.
Returns:
fromJson
public static ConnectionMonitorTcpConfiguration fromJson(JsonReader jsonReader)
Reads an instance of ConnectionMonitorTcpConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
port
public Integer port()
Get the port property: The port to connect to.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDestinationPortBehavior
public ConnectionMonitorTcpConfiguration withDestinationPortBehavior(DestinationPortBehavior destinationPortBehavior)
Set the destinationPortBehavior property: Destination port behavior.
Parameters:
Returns:
withDisableTraceRoute
public ConnectionMonitorTcpConfiguration withDisableTraceRoute(Boolean disableTraceRoute)
Set the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.
Parameters:
Returns:
withPort
public ConnectionMonitorTcpConfiguration withPort(Integer port)
Set the port property: The port to connect to.
Parameters:
Returns:
Applies to
Azure SDK for Java