RoutingRuleCollectionInner Class

public final class RoutingRuleCollectionInner
extends ChildResource

Defines the routing rule collection.

Constructor Summary

Constructor Description
RoutingRuleCollectionInner()

Creates an instance of RoutingRuleCollectionInner class.

Method Summary

Modifier and Type Method and Description
List<NetworkManagerRoutingGroupItem> appliesTo()

Get the appliesTo property: Groups for configuration.

String description()

Get the description property: A description of the routing rule collection.

DisableBgpRoutePropagation disableBgpRoutePropagation()

Get the disableBgpRoutePropagation property: Determines whether BGP route propagation is enabled.

String etag()

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

static RoutingRuleCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of RoutingRuleCollectionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

ProvisioningState provisioningState()

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

String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

SystemData systemData()

Get the systemData property: The system metadata related to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RoutingRuleCollectionInner withAppliesTo(List<NetworkManagerRoutingGroupItem> appliesTo)

Set the appliesTo property: Groups for configuration.

RoutingRuleCollectionInner withDescription(String description)

Set the description property: A description of the routing rule collection.

RoutingRuleCollectionInner withDisableBgpRoutePropagation(DisableBgpRoutePropagation disableBgpRoutePropagation)

Set the disableBgpRoutePropagation property: Determines whether BGP route propagation is enabled.

Methods inherited from ChildResource

Methods inherited from java.lang.Object

Constructor Details

RoutingRuleCollectionInner

public RoutingRuleCollectionInner()

Creates an instance of RoutingRuleCollectionInner class.

Method Details

appliesTo

public List appliesTo()

Get the appliesTo property: Groups for configuration.

Returns:

the appliesTo value.

description

public String description()

Get the description property: A description of the routing rule collection.

Returns:

the description value.

disableBgpRoutePropagation

public DisableBgpRoutePropagation disableBgpRoutePropagation()

Get the disableBgpRoutePropagation property: Determines whether BGP route propagation is enabled. Defaults to true.

Returns:

the disableBgpRoutePropagation value.

etag

public String etag()

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

Overrides:

RoutingRuleCollectionInner.etag()

Returns:

the etag value.

fromJson

public static RoutingRuleCollectionInner fromJson(JsonReader jsonReader)

Reads an instance of RoutingRuleCollectionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RoutingRuleCollectionInner 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: Fully qualified resource Id for the resource.

Overrides:

RoutingRuleCollectionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RoutingRuleCollectionInner.name()

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

Returns:

the resourceGuid value.

systemData

public SystemData systemData()

Get the systemData property: The system metadata related to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RoutingRuleCollectionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RoutingRuleCollectionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

RoutingRuleCollectionInner.validate()

withAppliesTo

public RoutingRuleCollectionInner withAppliesTo(List appliesTo)

Set the appliesTo property: Groups for configuration.

Parameters:

appliesTo - the appliesTo value to set.

Returns:

the RoutingRuleCollectionInner object itself.

withDescription

public RoutingRuleCollectionInner withDescription(String description)

Set the description property: A description of the routing rule collection.

Parameters:

description - the description value to set.

Returns:

the RoutingRuleCollectionInner object itself.

withDisableBgpRoutePropagation

public RoutingRuleCollectionInner withDisableBgpRoutePropagation(DisableBgpRoutePropagation disableBgpRoutePropagation)

Set the disableBgpRoutePropagation property: Determines whether BGP route propagation is enabled. Defaults to true.

Parameters:

disableBgpRoutePropagation - the disableBgpRoutePropagation value to set.

Returns:

the RoutingRuleCollectionInner object itself.

Applies to