PropagatedRouteTable Class

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

Implements

public final class PropagatedRouteTable
implements JsonSerializable<PropagatedRouteTable>

The list of RouteTables to advertise the routes to.

Constructor Summary

Constructor Description
PropagatedRouteTable()

Creates an instance of PropagatedRouteTable class.

Method Summary

Modifier and Type Method and Description
static PropagatedRouteTable fromJson(JsonReader jsonReader)

Reads an instance of PropagatedRouteTable from the JsonReader.

List<SubResource> ids()

Get the ids property: The list of resource ids of all the RouteTables.

List<String> labels()

Get the labels property: The list of labels.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PropagatedRouteTable withIds(List<SubResource> ids)

Set the ids property: The list of resource ids of all the RouteTables.

PropagatedRouteTable withLabels(List<String> labels)

Set the labels property: The list of labels.

Methods inherited from java.lang.Object

Constructor Details

PropagatedRouteTable

public PropagatedRouteTable()

Creates an instance of PropagatedRouteTable class.

Method Details

fromJson

public static PropagatedRouteTable fromJson(JsonReader jsonReader)

Reads an instance of PropagatedRouteTable from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PropagatedRouteTable 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 PropagatedRouteTable.

ids

public List ids()

Get the ids property: The list of resource ids of all the RouteTables.

Returns:

the ids value.

labels

public List labels()

Get the labels property: The list of labels.

Returns:

the labels value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIds

public PropagatedRouteTable withIds(List ids)

Set the ids property: The list of resource ids of all the RouteTables.

Parameters:

ids - the ids value to set.

Returns:

the PropagatedRouteTable object itself.

withLabels

public PropagatedRouteTable withLabels(List labels)

Set the labels property: The list of labels.

Parameters:

labels - the labels value to set.

Returns:

the PropagatedRouteTable object itself.

Applies to