NextHopParameters Class
- java.
lang. Object - com.
microsoft. azure. management. network. NextHopParameters
- com.
public class NextHopParameters
Parameters that define the source and destination endpoint.
Constructor Summary
Constructor | Description | |
---|---|---|
NextHopParameters() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
destinationIPAddress()
Get the destination IP address. |
java.lang.String |
sourceIPAddress()
Get the source IP address. |
java.lang.String |
targetNicResourceId()
Get the NIC ID. |
java.lang.String |
targetResourceId()
Get the resource identifier of the target resource against which the action is to be performed. |
Next |
withDestinationIPAddress(String destinationIPAddress)
Set the destination IP address. |
Next |
withSourceIPAddress(String sourceIPAddress)
Set the source IP address. |
Next |
withTargetNicResourceId(String targetNicResourceId)
Set the NIC ID. |
Next |
withTargetResourceId(String targetResourceId)
Set the resource identifier of the target resource against which the action is to be performed. |
Methods inherited from java.lang.Object
Constructor Details
NextHopParameters
public NextHopParameters()
Method Details
destinationIPAddress
public String destinationIPAddress()
Get the destination IP address.
Returns:
sourceIPAddress
public String sourceIPAddress()
Get the source IP address.
Returns:
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:
targetResourceId
public String targetResourceId()
Get the resource identifier of the target resource against which the action is to be performed.
Returns:
withDestinationIPAddress
public NextHopParameters withDestinationIPAddress(String destinationIPAddress)
Set the destination IP address.
Parameters:
Returns:
withSourceIPAddress
public NextHopParameters withSourceIPAddress(String sourceIPAddress)
Set the source IP address.
Parameters:
Returns:
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:
Returns:
withTargetResourceId
public NextHopParameters withTargetResourceId(String targetResourceId)
Set the resource identifier of the target resource against which the action is to be performed.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor