Class NextHopParameters


  • public final class NextHopParameters
    extends Object
    Parameters that define the source and destination endpoint.
    • Constructor Detail

      • NextHopParameters

        public NextHopParameters()
    • Method Detail

      • targetResourceId

        public String targetResourceId()
        Get the targetResourceId property: The resource identifier of the target resource against which the action is to be performed.
        Returns:
        the targetResourceId value.
      • withTargetResourceId

        public NextHopParameters withTargetResourceId​(String targetResourceId)
        Set the targetResourceId property: The resource identifier of the target resource against which the action is to be performed.
        Parameters:
        targetResourceId - the targetResourceId value to set.
        Returns:
        the NextHopParameters object itself.
      • sourceIpAddress

        public String sourceIpAddress()
        Get the sourceIpAddress property: The source IP address.
        Returns:
        the sourceIpAddress value.
      • withSourceIpAddress

        public NextHopParameters withSourceIpAddress​(String sourceIpAddress)
        Set the sourceIpAddress property: The source IP address.
        Parameters:
        sourceIpAddress - the sourceIpAddress value to set.
        Returns:
        the NextHopParameters object itself.
      • destinationIpAddress

        public String destinationIpAddress()
        Get the destinationIpAddress property: The destination IP address.
        Returns:
        the destinationIpAddress value.
      • withDestinationIpAddress

        public NextHopParameters withDestinationIpAddress​(String destinationIpAddress)
        Set the destinationIpAddress property: The destination IP address.
        Parameters:
        destinationIpAddress - the destinationIpAddress value to set.
        Returns:
        the NextHopParameters 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 the nics, then this parameter must be specified. Otherwise optional).
        Returns:
        the targetNicResourceId value.
      • withTargetNicResourceId

        public NextHopParameters withTargetNicResourceId​(String targetNicResourceId)
        Set the targetNicResourceId property: The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional).
        Parameters:
        targetNicResourceId - the targetNicResourceId value to set.
        Returns:
        the NextHopParameters object itself.
      • validate

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