Class NextHopParameters

java.lang.Object
com.microsoft.azure.management.network.NextHopParameters

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

    • NextHopParameters

      public NextHopParameters()
  • Method Details

    • targetResourceId

      public String targetResourceId()
      Get 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 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 source IP address.
      Returns:
      the sourceIPAddress value
    • withSourceIPAddress

      public NextHopParameters withSourceIPAddress(String sourceIPAddress)
      Set the source IP address.
      Parameters:
      sourceIPAddress - the sourceIPAddress value to set
      Returns:
      the NextHopParameters object itself.
    • destinationIPAddress

      public String destinationIPAddress()
      Get the destination IP address.
      Returns:
      the destinationIPAddress value
    • withDestinationIPAddress

      public NextHopParameters withDestinationIPAddress(String destinationIPAddress)
      Set the destination IP address.
      Parameters:
      destinationIPAddress - the destinationIPAddress value to set
      Returns:
      the NextHopParameters object itself.
    • targetNicResourceId

      public String targetNicResourceId()
      Get 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 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.