public final class NextHopParameters extends Object
| Constructor and Description |
|---|
NextHopParameters() |
| Modifier and Type | Method and Description |
|---|---|
String |
destinationIpAddress()
Get the destinationIpAddress property: The destination IP address.
|
String |
sourceIpAddress()
Get the sourceIpAddress property: The source IP address.
|
String |
targetNicResourceId()
Get the targetNicResourceId property: The NIC ID.
|
String |
targetResourceId()
Get the targetResourceId property: The resource identifier of the target resource against which the action is to
be performed.
|
void |
validate()
Validates the instance.
|
NextHopParameters |
withDestinationIpAddress(String destinationIpAddress)
Set the destinationIpAddress property: The destination IP address.
|
NextHopParameters |
withSourceIpAddress(String sourceIpAddress)
Set the sourceIpAddress property: The source IP address.
|
NextHopParameters |
withTargetNicResourceId(String targetNicResourceId)
Set the targetNicResourceId property: The NIC ID.
|
NextHopParameters |
withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The resource identifier of the target resource against which the action is to
be performed.
|
public String targetResourceId()
public NextHopParameters withTargetResourceId(String targetResourceId)
targetResourceId - the targetResourceId value to set.public String sourceIpAddress()
public NextHopParameters withSourceIpAddress(String sourceIpAddress)
sourceIpAddress - the sourceIpAddress value to set.public String destinationIpAddress()
public NextHopParameters withDestinationIpAddress(String destinationIpAddress)
destinationIpAddress - the destinationIpAddress value to set.public String targetNicResourceId()
public NextHopParameters withTargetNicResourceId(String targetNicResourceId)
targetNicResourceId - the targetNicResourceId value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.