Class ApplicationGatewayUrlPathMapInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.fluent.models.ApplicationGatewayUrlPathMapInner
-
public final class ApplicationGatewayUrlPathMapInner extends com.azure.core.management.SubResourceUrlPathMaps give a url path to the backend mapping information for PathBasedRouting.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewayUrlPathMapInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.management.SubResourcedefaultBackendAddressPool()Get the defaultBackendAddressPool property: Default backend address pool resource of URL path map.com.azure.core.management.SubResourcedefaultBackendHttpSettings()Get the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.com.azure.core.management.SubResourcedefaultLoadDistributionPolicy()Get the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.com.azure.core.management.SubResourcedefaultRedirectConfiguration()Get the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.com.azure.core.management.SubResourcedefaultRewriteRuleSet()Get the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Stringname()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.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the URL path map resource.Stringtype()Get the type property: Type of the resource.voidvalidate()Validates the instance.ApplicationGatewayUrlPathMapInnerwithDefaultBackendAddressPool(com.azure.core.management.SubResource defaultBackendAddressPool)Set the defaultBackendAddressPool property: Default backend address pool resource of URL path map.ApplicationGatewayUrlPathMapInnerwithDefaultBackendHttpSettings(com.azure.core.management.SubResource defaultBackendHttpSettings)Set the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.ApplicationGatewayUrlPathMapInnerwithDefaultLoadDistributionPolicy(com.azure.core.management.SubResource defaultLoadDistributionPolicy)Set the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.ApplicationGatewayUrlPathMapInnerwithDefaultRedirectConfiguration(com.azure.core.management.SubResource defaultRedirectConfiguration)Set the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.ApplicationGatewayUrlPathMapInnerwithDefaultRewriteRuleSet(com.azure.core.management.SubResource defaultRewriteRuleSet)Set the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.ApplicationGatewayUrlPathMapInnerwithId(String id)ApplicationGatewayUrlPathMapInnerwithName(String name)Set the name property: Name of the URL path map that is unique within an Application Gateway.ApplicationGatewayUrlPathMapInnerwithPathRules(List<ApplicationGatewayPathRuleInner> pathRules)Set the pathRules property: Path rule of URL path map resource.
-
-
-
Method Detail
-
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.
-
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.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
public String type()
Get the type property: Type of the resource.- Returns:
- the type value.
-
withId
public ApplicationGatewayUrlPathMapInner withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
defaultBackendAddressPool
public com.azure.core.management.SubResource defaultBackendAddressPool()
Get the defaultBackendAddressPool property: Default backend address pool resource of URL path map.- Returns:
- the defaultBackendAddressPool value.
-
withDefaultBackendAddressPool
public ApplicationGatewayUrlPathMapInner withDefaultBackendAddressPool(com.azure.core.management.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.
-
defaultBackendHttpSettings
public com.azure.core.management.SubResource defaultBackendHttpSettings()
Get the defaultBackendHttpSettings property: Default backend http settings resource of URL path map.- Returns:
- the defaultBackendHttpSettings value.
-
withDefaultBackendHttpSettings
public ApplicationGatewayUrlPathMapInner withDefaultBackendHttpSettings(com.azure.core.management.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.
-
defaultRewriteRuleSet
public com.azure.core.management.SubResource defaultRewriteRuleSet()
Get the defaultRewriteRuleSet property: Default Rewrite rule set resource of URL path map.- Returns:
- the defaultRewriteRuleSet value.
-
withDefaultRewriteRuleSet
public ApplicationGatewayUrlPathMapInner withDefaultRewriteRuleSet(com.azure.core.management.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.
-
defaultRedirectConfiguration
public com.azure.core.management.SubResource defaultRedirectConfiguration()
Get the defaultRedirectConfiguration property: Default redirect configuration resource of URL path map.- Returns:
- the defaultRedirectConfiguration value.
-
withDefaultRedirectConfiguration
public ApplicationGatewayUrlPathMapInner withDefaultRedirectConfiguration(com.azure.core.management.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.
-
defaultLoadDistributionPolicy
public com.azure.core.management.SubResource defaultLoadDistributionPolicy()
Get the defaultLoadDistributionPolicy property: Default Load Distribution Policy resource of URL path map.- Returns:
- the defaultLoadDistributionPolicy value.
-
withDefaultLoadDistributionPolicy
public ApplicationGatewayUrlPathMapInner withDefaultLoadDistributionPolicy(com.azure.core.management.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.
-
pathRules
public List<ApplicationGatewayPathRuleInner> pathRules()
Get the pathRules property: Path rule of URL path map resource.- Returns:
- the pathRules value.
-
withPathRules
public ApplicationGatewayUrlPathMapInner withPathRules(List<ApplicationGatewayPathRuleInner> pathRules)
Set the pathRules property: Path rule of URL path map resource.- Parameters:
pathRules- the pathRules value to set.- Returns:
- the ApplicationGatewayUrlPathMapInner object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the URL path map resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-