RouteMapInner Class

public final class RouteMapInner
extends SubResource

The RouteMap child resource of a Virtual hub.

Constructor Summary

Constructor Description
RouteMapInner()

Creates an instance of RouteMapInner class.

Method Summary

Modifier and Type Method and Description
List<String> associatedInboundConnections()

Get the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.

List<String> associatedOutboundConnections()

Get the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.

String etag()

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

static RouteMapInner fromJson(JsonReader jsonReader)

Reads an instance of RouteMapInner from the JsonReader.

String name()

Get the name property: The name of the resource that is unique within a resource group.

ProvisioningState provisioningState()

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

List<RouteMapRule> rules()

Get the rules property: List of RouteMap rules to be applied.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

RouteMapInner withAssociatedInboundConnections(List<String> associatedInboundConnections)

Set the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.

RouteMapInner withAssociatedOutboundConnections(List<String> associatedOutboundConnections)

Set the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.

RouteMapInner withId(String id)
RouteMapInner withRules(List<RouteMapRule> rules)

Set the rules property: List of RouteMap rules to be applied.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

RouteMapInner

public RouteMapInner()

Creates an instance of RouteMapInner class.

Method Details

associatedInboundConnections

public List associatedInboundConnections()

Get the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.

Returns:

the associatedInboundConnections value.

associatedOutboundConnections

public List associatedOutboundConnections()

Get the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.

Returns:

the associatedOutboundConnections 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 RouteMapInner fromJson(JsonReader jsonReader)

Reads an instance of RouteMapInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

provisioningState

public ProvisioningState provisioningState()

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

Returns:

the provisioningState value.

rules

public List rules()

Get the rules property: List of RouteMap rules to be applied.

Returns:

the rules value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RouteMapInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAssociatedInboundConnections

public RouteMapInner withAssociatedInboundConnections(List associatedInboundConnections)

Set the associatedInboundConnections property: List of connections which have this RoutMap associated for inbound traffic.

Parameters:

associatedInboundConnections - the associatedInboundConnections value to set.

Returns:

the RouteMapInner object itself.

withAssociatedOutboundConnections

public RouteMapInner withAssociatedOutboundConnections(List associatedOutboundConnections)

Set the associatedOutboundConnections property: List of connections which have this RoutMap associated for outbound traffic.

Parameters:

associatedOutboundConnections - the associatedOutboundConnections value to set.

Returns:

the RouteMapInner object itself.

withId

public RouteMapInner withId(String id)

Overrides:

RouteMapInner.withId(String id)

Parameters:

id

withRules

public RouteMapInner withRules(List rules)

Set the rules property: List of RouteMap rules to be applied.

Parameters:

rules - the rules value to set.

Returns:

the RouteMapInner object itself.

Applies to