RouteTableInner Class

public final class RouteTableInner
extends Resource

Route table resource.

Constructor Summary

Constructor Description
RouteTableInner()

Creates an instance of RouteTableInner class.

Method Summary

Modifier and Type Method and Description
Boolean disableBgpRoutePropagation()

Get the disableBgpRoutePropagation property: Whether to disable the routes learned by BGP on that route table.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static RouteTableInner fromJson(JsonReader jsonReader)

Reads an instance of RouteTableInner from the JsonReader.

String id()

Get the id property: Resource ID.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the route table resource.

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the route table.

List<RouteInner> routes()

Get the routes property: Collection of routes contained within a route table.

List<SubnetInner> subnets()

Get the subnets property: A collection of references to subnets.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RouteTableInner withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)

Set the disableBgpRoutePropagation property: Whether to disable the routes learned by BGP on that route table.

RouteTableInner withId(String id)

Set the id property: Resource ID.

RouteTableInner withLocation(String location)
RouteTableInner withRoutes(List<RouteInner> routes)

Set the routes property: Collection of routes contained within a route table.

RouteTableInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

RouteTableInner

public RouteTableInner()

Creates an instance of RouteTableInner class.

Method Details

disableBgpRoutePropagation

public Boolean disableBgpRoutePropagation()

Get the disableBgpRoutePropagation property: Whether to disable the routes learned by BGP on that route table. True means disable.

Returns:

the disableBgpRoutePropagation value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static RouteTableInner fromJson(JsonReader jsonReader)

Reads an instance of RouteTableInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Resource ID.

Overrides:

RouteTableInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RouteTableInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the route table resource.

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the route table.

Returns:

the resourceGuid value.

routes

public List routes()

Get the routes property: Collection of routes contained within a route table.

Returns:

the routes value.

subnets

public List subnets()

Get the subnets property: A collection of references to subnets.

Returns:

the subnets value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RouteTableInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RouteTableInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDisableBgpRoutePropagation

public RouteTableInner withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)

Set the disableBgpRoutePropagation property: Whether to disable the routes learned by BGP on that route table. True means disable.

Parameters:

disableBgpRoutePropagation - the disableBgpRoutePropagation value to set.

Returns:

the RouteTableInner object itself.

withId

public RouteTableInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the RouteTableInner object itself.

withLocation

public RouteTableInner withLocation(String location)

Overrides:

RouteTableInner.withLocation(String location)

Parameters:

location

withRoutes

public RouteTableInner withRoutes(List routes)

Set the routes property: Collection of routes contained within a route table.

Parameters:

routes - the routes value to set.

Returns:

the RouteTableInner object itself.

withTags

public RouteTableInner withTags(Map tags)

Overrides:

RouteTableInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to