你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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<SubResource> ids()

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

Returns:

the ids value.

labels

public List<String> 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<SubResource> 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<String> labels)

Set the labels property: The list of labels.

Parameters:

labels - the labels value to set.

Returns:

the PropagatedRouteTable object itself.

Applies to