RouteMapInner Class

public final class RouteMapInner
extends ProxyResource

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 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 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: The type of the resource.

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 withRules(List<RouteMapRule> rules)

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

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

RouteMapInner

public RouteMapInner()

Creates an instance of RouteMapInner class.

Method Details

associatedInboundConnections

public List<String> associatedInboundConnections()

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

Returns:

the associatedInboundConnections value.

associatedOutboundConnections

public List<String> 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 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:

RouteMapInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RouteMapInner.name()

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<RouteMapRule> 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: The type of the resource.

Overrides:

RouteMapInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAssociatedInboundConnections

public RouteMapInner withAssociatedInboundConnections(List<String> 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<String> 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.

withRules

public RouteMapInner withRules(List<RouteMapRule> 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