RoutingRuleNextHop Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. RoutingRuleNextHop
- com.
Implements
public final class RoutingRuleNextHop
implements JsonSerializable<RoutingRuleNextHop>
Next hop.
Constructor Summary
Constructor | Description |
---|---|
RoutingRuleNextHop() |
Creates an instance of Routing |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Routing |
fromJson(JsonReader jsonReader)
Reads an instance of Routing |
String |
nextHopAddress()
Get the next |
Routing |
nextHopType()
Get the next |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Routing |
withNextHopAddress(String nextHopAddress)
Set the next |
Routing |
withNextHopType(RoutingRuleNextHopType nextHopType)
Set the next |
Methods inherited from java.lang.Object
Constructor Details
RoutingRuleNextHop
public RoutingRuleNextHop()
Creates an instance of RoutingRuleNextHop class.
Method Details
fromJson
public static RoutingRuleNextHop fromJson(JsonReader jsonReader)
Reads an instance of RoutingRuleNextHop from the JsonReader.
Parameters:
Returns:
Throws:
nextHopAddress
public String nextHopAddress()
Get the nextHopAddress property: Next hop address. Only required if the next hop type is VirtualAppliance.
Returns:
nextHopType
public RoutingRuleNextHopType nextHopType()
Get the nextHopType property: Next hop type.
Returns:
toJson
validate
public void validate()
Validates the instance.
withNextHopAddress
public RoutingRuleNextHop withNextHopAddress(String nextHopAddress)
Set the nextHopAddress property: Next hop address. Only required if the next hop type is VirtualAppliance.
Parameters:
Returns:
withNextHopType
public RoutingRuleNextHop withNextHopType(RoutingRuleNextHopType nextHopType)
Set the nextHopType property: Next hop type.
Parameters:
Returns:
Applies to
Azure SDK for Java