ApplicationGatewayUrlPathMapPropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ApplicationGatewayUrlPathMapPropertiesFormat

Implements

public final class ApplicationGatewayUrlPathMapPropertiesFormat
implements JsonSerializable<ApplicationGatewayUrlPathMapPropertiesFormat>

Properties of UrlPathMap of the application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayUrlPathMapPropertiesFormat()

Creates an instance of ApplicationGatewayUrlPathMapPropertiesFormat 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.

static ApplicationGatewayUrlPathMapPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayUrlPathMapPropertiesFormat from the JsonReader.

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)
void validate()

Validates the instance.

ApplicationGatewayUrlPathMapPropertiesFormat withDefaultBackendAddressPool(SubResource defaultBackendAddressPool)

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

ApplicationGatewayUrlPathMapPropertiesFormat withDefaultBackendHttpSettings(SubResource defaultBackendHttpSettings)

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

ApplicationGatewayUrlPathMapPropertiesFormat withDefaultLoadDistributionPolicy(SubResource defaultLoadDistributionPolicy)

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

ApplicationGatewayUrlPathMapPropertiesFormat withDefaultRedirectConfiguration(SubResource defaultRedirectConfiguration)

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

ApplicationGatewayUrlPathMapPropertiesFormat withDefaultRewriteRuleSet(SubResource defaultRewriteRuleSet)

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

ApplicationGatewayUrlPathMapPropertiesFormat withPathRules(List<ApplicationGatewayPathRuleInner> pathRules)

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

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayUrlPathMapPropertiesFormat

public ApplicationGatewayUrlPathMapPropertiesFormat()

Creates an instance of ApplicationGatewayUrlPathMapPropertiesFormat 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.

fromJson

public static ApplicationGatewayUrlPathMapPropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayUrlPathMapPropertiesFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

pathRules

public List<ApplicationGatewayPathRuleInner> 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)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDefaultBackendAddressPool

public ApplicationGatewayUrlPathMapPropertiesFormat 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 ApplicationGatewayUrlPathMapPropertiesFormat object itself.

withDefaultBackendHttpSettings

public ApplicationGatewayUrlPathMapPropertiesFormat 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 ApplicationGatewayUrlPathMapPropertiesFormat object itself.

withDefaultLoadDistributionPolicy

public ApplicationGatewayUrlPathMapPropertiesFormat 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 ApplicationGatewayUrlPathMapPropertiesFormat object itself.

withDefaultRedirectConfiguration

public ApplicationGatewayUrlPathMapPropertiesFormat withDefaultRedirectConfiguration(SubResource defaultRedirectConfiguration)

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

Parameters:

defaultRedirectConfiguration - the defaultRedirectConfiguration value to set.

Returns:

the ApplicationGatewayUrlPathMapPropertiesFormat object itself.

withDefaultRewriteRuleSet

public ApplicationGatewayUrlPathMapPropertiesFormat 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 ApplicationGatewayUrlPathMapPropertiesFormat object itself.

withPathRules

public ApplicationGatewayUrlPathMapPropertiesFormat withPathRules(List<ApplicationGatewayPathRuleInner> pathRules)

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

Parameters:

pathRules - the pathRules value to set.

Returns:

the ApplicationGatewayUrlPathMapPropertiesFormat object itself.

Applies to