Class NextHopParameters
java.lang.Object
com.microsoft.azure.management.network.NextHopParameters
Parameters that define the source and destination endpoint.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the destination IP address.Get the source IP address.Get the NIC ID.Get the resource identifier of the target resource against which the action is to be performed.withDestinationIPAddress
(String destinationIPAddress) Set the destination IP address.withSourceIPAddress
(String sourceIPAddress) Set the source IP address.withTargetNicResourceId
(String targetNicResourceId) Set the NIC ID.withTargetResourceId
(String targetResourceId) Set the resource identifier of the target resource against which the action is to be performed.
-
Constructor Details
-
NextHopParameters
public NextHopParameters()
-
-
Method Details
-
targetResourceId
Get the resource identifier of the target resource against which the action is to be performed.- Returns:
- the targetResourceId value
-
withTargetResourceId
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
Get the source IP address.- Returns:
- the sourceIPAddress value
-
withSourceIPAddress
Set the source IP address.- Parameters:
sourceIPAddress
- the sourceIPAddress value to set- Returns:
- the NextHopParameters object itself.
-
destinationIPAddress
Get the destination IP address.- Returns:
- the destinationIPAddress value
-
withDestinationIPAddress
Set the destination IP address.- Parameters:
destinationIPAddress
- the destinationIPAddress value to set- Returns:
- the NextHopParameters object itself.
-
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
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.
-