GatewayRouteSet Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.GatewayRouteSet

Implements

public final class GatewayRouteSet
implements JsonSerializable<GatewayRouteSet>

The GatewayRouteSet model.

Method Summary

Modifier and Type Method and Description
Map<String,List<RouteSourceDetails>> details()

Get the details property: List of different Route Sources.

static GatewayRouteSet fromJson(JsonReader jsonReader)

Reads an instance of GatewayRouteSet from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

details

public Map<String,List<RouteSourceDetails>> details()

Get the details property: List of different Route Sources.

Returns:

the details value.

fromJson

public static GatewayRouteSet fromJson(JsonReader jsonReader)

Reads an instance of GatewayRouteSet from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GatewayRouteSet if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the GatewayRouteSet.

locations

public List<String> locations()

Get the locations property: List of different locations from where the routes are learned.

Returns:

the locations value.

name

public String name()

Get the name property: Route Set name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to