ApplicationGatewayUrlPathMapInner Class

public final class ApplicationGatewayUrlPathMapInner
extends SubResource

UrlPathMaps give a url path to the backend mapping information for PathBasedRouting.

Constructor Summary

Constructor Description
ApplicationGatewayUrlPathMapInner()

Creates an instance of ApplicationGatewayUrlPathMapInner class.

Method Summary

Modifier and Type Method and Description
SubResource defaultBackendAddressPool()

Get the defaultBackendAddressPool property: Default backend address pool resource of URL path map.

SubResource defaultBackendHttpSettings()

Get the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.

SubResource defaultLoadDistributionPolicy()

Get the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.

SubResource defaultRedirectConfiguration()

Get the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.

SubResource defaultRewriteRuleSet()

Get the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.

String etag()

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

static ApplicationGatewayUrlPathMapInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayUrlPathMapInner from the JsonReader.

String name()

Get the name property: Name of the URL path map that is unique within an Application Gateway.

List<ApplicationGatewayPathRuleInner> pathRules()

Get the pathRules property: Path rule of URL path map resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the URL path map resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

ApplicationGatewayUrlPathMapInner withDefaultBackendAddressPool(SubResource defaultBackendAddressPool)

Set the defaultBackendAddressPool property: Default backend address pool resource of URL path map.

ApplicationGatewayUrlPathMapInner withDefaultBackendHttpSettings(SubResource defaultBackendHttpSettings)

Set the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.

ApplicationGatewayUrlPathMapInner withDefaultLoadDistributionPolicy(SubResource defaultLoadDistributionPolicy)

Set the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.

ApplicationGatewayUrlPathMapInner withDefaultRedirectConfiguration(SubResource defaultRedirectConfiguration)

Set the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.

ApplicationGatewayUrlPathMapInner withDefaultRewriteRuleSet(SubResource defaultRewriteRuleSet)

Set the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.

ApplicationGatewayUrlPathMapInner withId(String id)
ApplicationGatewayUrlPathMapInner withName(String name)

Set the name property: Name of the URL path map that is unique within an Application Gateway.

ApplicationGatewayUrlPathMapInner withPathRules(List<ApplicationGatewayPathRuleInner> pathRules)

Set the pathRules property: Path rule of URL path map resource.

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayUrlPathMapInner

public ApplicationGatewayUrlPathMapInner()

Creates an instance of ApplicationGatewayUrlPathMapInner class.

Method Details

defaultBackendAddressPool

public SubResource defaultBackendAddressPool()

Get the defaultBackendAddressPool property: Default backend address pool resource of URL path map.

Returns:

the defaultBackendAddressPool value.

defaultBackendHttpSettings

public SubResource defaultBackendHttpSettings()

Get the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.

Returns:

the defaultBackendHttpSettings value.

defaultLoadDistributionPolicy

public SubResource defaultLoadDistributionPolicy()

Get the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.

Returns:

the defaultLoadDistributionPolicy value.

defaultRedirectConfiguration

public SubResource defaultRedirectConfiguration()

Get the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.

Returns:

the defaultRedirectConfiguration value.

defaultRewriteRuleSet

public SubResource defaultRewriteRuleSet()

Get the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.

Returns:

the defaultRewriteRuleSet 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 ApplicationGatewayUrlPathMapInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayUrlPathMapInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Name of the URL path map that is unique within an Application Gateway.

Returns:

the name value.

pathRules

public List pathRules()

Get the pathRules property: Path rule of URL path map resource.

Returns:

the pathRules value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the URL path map resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewayUrlPathMapInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDefaultBackendAddressPool

public ApplicationGatewayUrlPathMapInner withDefaultBackendAddressPool(SubResource defaultBackendAddressPool)

Set the defaultBackendAddressPool property: Default backend address pool resource of URL path map.

Parameters:

defaultBackendAddressPool - the defaultBackendAddressPool value to set.

Returns:

the ApplicationGatewayUrlPathMapInner object itself.

withDefaultBackendHttpSettings

public ApplicationGatewayUrlPathMapInner withDefaultBackendHttpSettings(SubResource defaultBackendHttpSettings)

Set the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.

Parameters:

defaultBackendHttpSettings - the defaultBackendHttpSettings value to set.

Returns:

the ApplicationGatewayUrlPathMapInner object itself.

withDefaultLoadDistributionPolicy

public ApplicationGatewayUrlPathMapInner withDefaultLoadDistributionPolicy(SubResource defaultLoadDistributionPolicy)

Set the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.

Parameters:

defaultLoadDistributionPolicy - the defaultLoadDistributionPolicy value to set.

Returns:

the ApplicationGatewayUrlPathMapInner object itself.

withDefaultRedirectConfiguration

public ApplicationGatewayUrlPathMapInner withDefaultRedirectConfiguration(SubResource defaultRedirectConfiguration)

Set the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.

Parameters:

defaultRedirectConfiguration - the defaultRedirectConfiguration value to set.

Returns:

the ApplicationGatewayUrlPathMapInner object itself.

withDefaultRewriteRuleSet

public ApplicationGatewayUrlPathMapInner withDefaultRewriteRuleSet(SubResource defaultRewriteRuleSet)

Set the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.

Parameters:

defaultRewriteRuleSet - the defaultRewriteRuleSet value to set.

Returns:

the ApplicationGatewayUrlPathMapInner object itself.

withId

public ApplicationGatewayUrlPathMapInner withId(String id)

Overrides:

ApplicationGatewayUrlPathMapInner.withId(String id)

Parameters:

id

withName

public ApplicationGatewayUrlPathMapInner withName(String name)

Set the name property: Name of the URL path map that is unique within an Application Gateway.

Parameters:

name - the name value to set.

Returns:

the ApplicationGatewayUrlPathMapInner object itself.

withPathRules

public ApplicationGatewayUrlPathMapInner withPathRules(List pathRules)

Set the pathRules property: Path rule of URL path map resource.

Parameters:

pathRules - the pathRules value to set.

Returns:

the ApplicationGatewayUrlPathMapInner object itself.

Applies to