Class VerificationIpFlowParameters


  • public final class VerificationIpFlowParameters
    extends Object
    Parameters that define the IP flow to be verified.
    • Constructor Detail

      • VerificationIpFlowParameters

        public VerificationIpFlowParameters()
    • Method Detail

      • targetResourceId

        public String targetResourceId()
        Get the targetResourceId property: The ID of the target resource to perform next-hop on.
        Returns:
        the targetResourceId value.
      • 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.
      • direction

        public Direction direction()
        Get the direction property: The direction of the packet represented as a 5-tuple.
        Returns:
        the direction value.
      • 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.
      • protocol

        public IpFlowProtocol protocol()
        Get the protocol property: Protocol to be verified on.
        Returns:
        the protocol value.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • localIpAddress

        public String localIpAddress()
        Get the localIpAddress property: The local IP address. Acceptable values are valid IPv4 addresses.
        Returns:
        the localIpAddress value.
      • 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.
      • remoteIpAddress

        public String remoteIpAddress()
        Get the remoteIpAddress property: The remote IP address. Acceptable values are valid IPv4 addresses.
        Returns:
        the remoteIpAddress value.
      • 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.
      • 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.
      • 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.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.