VerificationIpFlowParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.VerificationIpFlowParameters

public final class VerificationIpFlowParameters

Parameters that define the IP flow to be verified.

Constructor Summary

Constructor Description
VerificationIpFlowParameters()

Creates an instance of VerificationIpFlowParameters class.

Method Summary

Modifier and Type Method and Description
Direction direction()

Get the direction property: The direction of the packet represented as a 5-tuple.

String localIpAddress()

Get the localIpAddress property: The local IP address.

String localPort()

Get the localPort property: The local port.

IpFlowProtocol protocol()

Get the protocol property: Protocol to be verified on.

String remoteIpAddress()

Get the remoteIpAddress property: The remote IP address.

String remotePort()

Get the remotePort property: The remote port.

String targetNicResourceId()

Get the targetNicResourceId property: The NIC ID.

String targetResourceId()

Get the targetResourceId property: The ID of the target resource to perform next-hop on.

void validate()

Validates the instance.

VerificationIpFlowParameters withDirection(Direction direction)

Set the direction property: The direction of the packet represented as a 5-tuple.

VerificationIpFlowParameters withLocalIpAddress(String localIpAddress)

Set the localIpAddress property: The local IP address.

VerificationIpFlowParameters withLocalPort(String localPort)

Set the localPort property: The local port.

VerificationIpFlowParameters withProtocol(IpFlowProtocol protocol)

Set the protocol property: Protocol to be verified on.

VerificationIpFlowParameters withRemoteIpAddress(String remoteIpAddress)

Set the remoteIpAddress property: The remote IP address.

VerificationIpFlowParameters withRemotePort(String remotePort)

Set the remotePort property: The remote port.

VerificationIpFlowParameters withTargetNicResourceId(String targetNicResourceId)

Set the targetNicResourceId property: The NIC ID.

VerificationIpFlowParameters withTargetResourceId(String targetResourceId)

Set the targetResourceId property: The ID of the target resource to perform next-hop on.

Methods inherited from java.lang.Object

Constructor Details

VerificationIpFlowParameters

public VerificationIpFlowParameters()

Creates an instance of VerificationIpFlowParameters class.

Method Details

direction

public Direction direction()

Get the direction property: The direction of the packet represented as a 5-tuple.

Returns:

the direction value.

localIpAddress

public String localIpAddress()

Get the localIpAddress property: The local IP address. Acceptable values are valid IPv4 addresses.

Returns:

the localIpAddress value.

localPort

public String localPort()

Get the localPort property: The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.

Returns:

the localPort value.

protocol

public IpFlowProtocol protocol()

Get the protocol property: Protocol to be verified on.

Returns:

the protocol value.

remoteIpAddress

public String remoteIpAddress()

Get the remoteIpAddress property: The remote IP address. Acceptable values are valid IPv4 addresses.

Returns:

the remoteIpAddress value.

remotePort

public String remotePort()

Get the remotePort property: The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.

Returns:

the remotePort value.

targetNicResourceId

public String targetNicResourceId()

Get the targetNicResourceId property: The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).

Returns:

the targetNicResourceId value.

targetResourceId

public String targetResourceId()

Get the targetResourceId property: The ID of the target resource to perform next-hop on.

Returns:

the targetResourceId value.

validate

public void validate()

Validates the instance.

withDirection

public VerificationIpFlowParameters withDirection(Direction direction)

Set the direction property: The direction of the packet represented as a 5-tuple.

Parameters:

direction - the direction value to set.

Returns:

the VerificationIpFlowParameters object itself.

withLocalIpAddress

public VerificationIpFlowParameters withLocalIpAddress(String localIpAddress)

Set the localIpAddress property: The local IP address. Acceptable values are valid IPv4 addresses.

Parameters:

localIpAddress - the localIpAddress value to set.

Returns:

the VerificationIpFlowParameters object itself.

withLocalPort

public VerificationIpFlowParameters withLocalPort(String localPort)

Set the localPort property: The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.

Parameters:

localPort - the localPort value to set.

Returns:

the VerificationIpFlowParameters object itself.

withProtocol

public VerificationIpFlowParameters withProtocol(IpFlowProtocol protocol)

Set the protocol property: Protocol to be verified on.

Parameters:

protocol - the protocol value to set.

Returns:

the VerificationIpFlowParameters object itself.

withRemoteIpAddress

public VerificationIpFlowParameters withRemoteIpAddress(String remoteIpAddress)

Set the remoteIpAddress property: The remote IP address. Acceptable values are valid IPv4 addresses.

Parameters:

remoteIpAddress - the remoteIpAddress value to set.

Returns:

the VerificationIpFlowParameters object itself.

withRemotePort

public VerificationIpFlowParameters withRemotePort(String remotePort)

Set the remotePort property: The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction.

Parameters:

remotePort - the remotePort value to set.

Returns:

the VerificationIpFlowParameters object itself.

withTargetNicResourceId

public VerificationIpFlowParameters withTargetNicResourceId(String targetNicResourceId)

Set the targetNicResourceId property: The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional).

Parameters:

targetNicResourceId - the targetNicResourceId value to set.

Returns:

the VerificationIpFlowParameters object itself.

withTargetResourceId

public VerificationIpFlowParameters withTargetResourceId(String targetResourceId)

Set the targetResourceId property: The ID of the target resource to perform next-hop on.

Parameters:

targetResourceId - the targetResourceId value to set.

Returns:

the VerificationIpFlowParameters object itself.

Applies to