RoutingRuleRouteDestination Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. RoutingRuleRouteDestination
- com.
Implements
public final class RoutingRuleRouteDestination
implements JsonSerializable<RoutingRuleRouteDestination>
Route destination.
Constructor Summary
Constructor | Description |
---|---|
RoutingRuleRouteDestination() |
Creates an instance of Routing |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
destinationAddress()
Get the destination |
static
Routing |
fromJson(JsonReader jsonReader)
Reads an instance of Routing |
Json |
toJson(JsonWriter jsonWriter) |
Routing |
type()
Get the type property: Destination type. |
void |
validate()
Validates the instance. |
Routing |
withDestinationAddress(String destinationAddress)
Set the destination |
Routing |
withType(RoutingRuleDestinationType type)
Set the type property: Destination type. |
Methods inherited from java.lang.Object
Constructor Details
RoutingRuleRouteDestination
public RoutingRuleRouteDestination()
Creates an instance of RoutingRuleRouteDestination class.
Method Details
destinationAddress
public String destinationAddress()
Get the destinationAddress property: Destination address.
Returns:
fromJson
public static RoutingRuleRouteDestination fromJson(JsonReader jsonReader)
Reads an instance of RoutingRuleRouteDestination from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public RoutingRuleDestinationType type()
Get the type property: Destination type.
Returns:
validate
public void validate()
Validates the instance.
withDestinationAddress
public RoutingRuleRouteDestination withDestinationAddress(String destinationAddress)
Set the destinationAddress property: Destination address.
Parameters:
Returns:
withType
public RoutingRuleRouteDestination withType(RoutingRuleDestinationType type)
Set the type property: Destination type.
Parameters:
Returns:
Applies to
Azure SDK for Java