Class ConnectionMonitorTcpConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ConnectionMonitorTcpConfiguration
-
public final class ConnectionMonitorTcpConfiguration extends Object
Describes the TCP configuration.
-
-
Constructor Summary
Constructors Constructor Description ConnectionMonitorTcpConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DestinationPortBehaviordestinationPortBehavior()Get the destinationPortBehavior property: Destination port behavior.BooleandisableTraceRoute()Get the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.Integerport()Get the port property: The port to connect to.voidvalidate()Validates the instance.ConnectionMonitorTcpConfigurationwithDestinationPortBehavior(DestinationPortBehavior destinationPortBehavior)Set the destinationPortBehavior property: Destination port behavior.ConnectionMonitorTcpConfigurationwithDisableTraceRoute(Boolean disableTraceRoute)Set the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.ConnectionMonitorTcpConfigurationwithPort(Integer port)Set the port property: The port to connect to.
-
-
-
Method Detail
-
port
public Integer port()
Get the port property: The port to connect to.- Returns:
- the port value.
-
withPort
public ConnectionMonitorTcpConfiguration withPort(Integer port)
Set the port property: The port to connect to.- Parameters:
port- the port value to set.- Returns:
- the ConnectionMonitorTcpConfiguration object itself.
-
disableTraceRoute
public Boolean disableTraceRoute()
Get the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.- Returns:
- the disableTraceRoute value.
-
withDisableTraceRoute
public ConnectionMonitorTcpConfiguration withDisableTraceRoute(Boolean disableTraceRoute)
Set the disableTraceRoute property: Value indicating whether path evaluation with trace route should be disabled.- Parameters:
disableTraceRoute- the disableTraceRoute value to set.- Returns:
- the ConnectionMonitorTcpConfiguration object itself.
-
destinationPortBehavior
public DestinationPortBehavior destinationPortBehavior()
Get the destinationPortBehavior property: Destination port behavior.- Returns:
- the destinationPortBehavior value.
-
withDestinationPortBehavior
public ConnectionMonitorTcpConfiguration withDestinationPortBehavior(DestinationPortBehavior destinationPortBehavior)
Set the destinationPortBehavior property: Destination port behavior.- Parameters:
destinationPortBehavior- the destinationPortBehavior value to set.- Returns:
- the ConnectionMonitorTcpConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-