GatewayRouteSet Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. GatewayRouteSet
- com.
Implements
public final class GatewayRouteSet
implements JsonSerializable<GatewayRouteSet>
The GatewayRouteSet model.
Constructor Summary
| Constructor | Description |
|---|---|
| GatewayRouteSet() |
Creates an instance of Gateway |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Map<String,List<Route |
details()
Get the details property: List of different Route Sources. |
|
static
Gateway |
fromJson(JsonReader jsonReader)
Reads an instance of Gateway |
| List<String> |
locations()
Get the locations property: List of different locations from where the routes are learned. |
| String |
name()
Get the name property: Route Set name. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Gateway |
withDetails(Map<String,List<RouteSourceDetails>> details)
Set the details property: List of different Route Sources. |
|
Gateway |
withLocations(List<String> locations)
Set the locations property: List of different locations from where the routes are learned. |
|
Gateway |
withName(String name)
Set the name property: Route Set name. |
Methods inherited from java.lang.Object
Constructor Details
GatewayRouteSet
public GatewayRouteSet()
Creates an instance of GatewayRouteSet class.
Method Details
details
public Map<String,List<RouteSourceDetails>> details()
Get the details property: List of different Route Sources.
Returns:
fromJson
public static GatewayRouteSet fromJson(JsonReader jsonReader)
Reads an instance of GatewayRouteSet from the JsonReader.
Parameters:
Returns:
Throws:
locations
public List<String> locations()
Get the locations property: List of different locations from where the routes are learned.
Returns:
name
public String name()
Get the name property: Route Set name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDetails
public GatewayRouteSet withDetails(Map<String,List<RouteSourceDetails>> details)
Set the details property: List of different Route Sources.
Parameters:
Returns:
withLocations
public GatewayRouteSet withLocations(List<String> locations)
Set the locations property: List of different locations from where the routes are learned.
Parameters:
Returns:
withName
public GatewayRouteSet withName(String name)
Set the name property: Route Set name.
Parameters:
Returns: