VirtualHubEffectiveRouteListInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.VirtualHubEffectiveRouteListInner

Implements

public final class VirtualHubEffectiveRouteListInner
implements JsonSerializable<VirtualHubEffectiveRouteListInner>

EffectiveRoutes List.

Constructor Summary

Constructor Description
VirtualHubEffectiveRouteListInner()

Creates an instance of VirtualHubEffectiveRouteListInner class.

Method Summary

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

Reads an instance of VirtualHubEffectiveRouteListInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<VirtualHubEffectiveRoute> value()

Get the value property: The list of effective routes configured on the virtual hub or the specified resource.

VirtualHubEffectiveRouteListInner withValue(List<VirtualHubEffectiveRoute> value)

Set the value property: The list of effective routes configured on the virtual hub or the specified resource.

Methods inherited from java.lang.Object

Constructor Details

VirtualHubEffectiveRouteListInner

public VirtualHubEffectiveRouteListInner()

Creates an instance of VirtualHubEffectiveRouteListInner class.

Method Details

fromJson

public static VirtualHubEffectiveRouteListInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualHubEffectiveRouteListInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List value()

Get the value property: The list of effective routes configured on the virtual hub or the specified resource.

Returns:

the value value.

withValue

public VirtualHubEffectiveRouteListInner withValue(List value)

Set the value property: The list of effective routes configured on the virtual hub or the specified resource.

Parameters:

value - the value value to set.

Returns:

the VirtualHubEffectiveRouteListInner object itself.

Applies to