Class ApplicationGatewayPathRuleInner
- java.lang.Object
-
- com.azure.core.management.SubResource
-
- com.azure.resourcemanager.network.fluent.models.ApplicationGatewayPathRuleInner
-
public final class ApplicationGatewayPathRuleInner extends com.azure.core.management.SubResourcePath rule of URL path map of an application gateway.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGatewayPathRuleInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.management.SubResourcebackendAddressPool()Get the backendAddressPool property: Backend address pool resource of URL path map path rule.com.azure.core.management.SubResourcebackendHttpSettings()Get the backendHttpSettings property: Backend http settings resource of URL path map path rule.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.com.azure.core.management.SubResourcefirewallPolicy()Get the firewallPolicy property: Reference to the FirewallPolicy resource.com.azure.core.management.SubResourceloadDistributionPolicy()Get the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.Stringname()Get the name property: Name of the path rule that is unique within an Application Gateway.List<String>paths()Get the paths property: Path rules of URL path map.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the path rule resource.com.azure.core.management.SubResourceredirectConfiguration()Get the redirectConfiguration property: Redirect configuration resource of URL path map path rule.com.azure.core.management.SubResourcerewriteRuleSet()Get the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.Stringtype()Get the type property: Type of the resource.voidvalidate()Validates the instance.ApplicationGatewayPathRuleInnerwithBackendAddressPool(com.azure.core.management.SubResource backendAddressPool)Set the backendAddressPool property: Backend address pool resource of URL path map path rule.ApplicationGatewayPathRuleInnerwithBackendHttpSettings(com.azure.core.management.SubResource backendHttpSettings)Set the backendHttpSettings property: Backend http settings resource of URL path map path rule.ApplicationGatewayPathRuleInnerwithFirewallPolicy(com.azure.core.management.SubResource firewallPolicy)Set the firewallPolicy property: Reference to the FirewallPolicy resource.ApplicationGatewayPathRuleInnerwithId(String id)ApplicationGatewayPathRuleInnerwithLoadDistributionPolicy(com.azure.core.management.SubResource loadDistributionPolicy)Set the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.ApplicationGatewayPathRuleInnerwithName(String name)Set the name property: Name of the path rule that is unique within an Application Gateway.ApplicationGatewayPathRuleInnerwithPaths(List<String> paths)Set the paths property: Path rules of URL path map.ApplicationGatewayPathRuleInnerwithRedirectConfiguration(com.azure.core.management.SubResource redirectConfiguration)Set the redirectConfiguration property: Redirect configuration resource of URL path map path rule.ApplicationGatewayPathRuleInnerwithRewriteRuleSet(com.azure.core.management.SubResource rewriteRuleSet)Set the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of the path rule that is unique within an Application Gateway.- Returns:
- the name value.
-
withName
public ApplicationGatewayPathRuleInner withName(String name)
Set the name property: Name of the path rule that is unique within an Application Gateway.- Parameters:
name- the name value to set.- Returns:
- the ApplicationGatewayPathRuleInner 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 ApplicationGatewayPathRuleInner withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
paths
public List<String> paths()
Get the paths property: Path rules of URL path map.- Returns:
- the paths value.
-
withPaths
public ApplicationGatewayPathRuleInner withPaths(List<String> paths)
Set the paths property: Path rules of URL path map.- Parameters:
paths- the paths value to set.- Returns:
- the ApplicationGatewayPathRuleInner object itself.
-
backendAddressPool
public com.azure.core.management.SubResource backendAddressPool()
Get the backendAddressPool property: Backend address pool resource of URL path map path rule.- Returns:
- the backendAddressPool value.
-
withBackendAddressPool
public ApplicationGatewayPathRuleInner withBackendAddressPool(com.azure.core.management.SubResource backendAddressPool)
Set the backendAddressPool property: Backend address pool resource of URL path map path rule.- Parameters:
backendAddressPool- the backendAddressPool value to set.- Returns:
- the ApplicationGatewayPathRuleInner object itself.
-
backendHttpSettings
public com.azure.core.management.SubResource backendHttpSettings()
Get the backendHttpSettings property: Backend http settings resource of URL path map path rule.- Returns:
- the backendHttpSettings value.
-
withBackendHttpSettings
public ApplicationGatewayPathRuleInner withBackendHttpSettings(com.azure.core.management.SubResource backendHttpSettings)
Set the backendHttpSettings property: Backend http settings resource of URL path map path rule.- Parameters:
backendHttpSettings- the backendHttpSettings value to set.- Returns:
- the ApplicationGatewayPathRuleInner object itself.
-
redirectConfiguration
public com.azure.core.management.SubResource redirectConfiguration()
Get the redirectConfiguration property: Redirect configuration resource of URL path map path rule.- Returns:
- the redirectConfiguration value.
-
withRedirectConfiguration
public ApplicationGatewayPathRuleInner withRedirectConfiguration(com.azure.core.management.SubResource redirectConfiguration)
Set the redirectConfiguration property: Redirect configuration resource of URL path map path rule.- Parameters:
redirectConfiguration- the redirectConfiguration value to set.- Returns:
- the ApplicationGatewayPathRuleInner object itself.
-
rewriteRuleSet
public com.azure.core.management.SubResource rewriteRuleSet()
Get the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.- Returns:
- the rewriteRuleSet value.
-
withRewriteRuleSet
public ApplicationGatewayPathRuleInner withRewriteRuleSet(com.azure.core.management.SubResource rewriteRuleSet)
Set the rewriteRuleSet property: Rewrite rule set resource of URL path map path rule.- Parameters:
rewriteRuleSet- the rewriteRuleSet value to set.- Returns:
- the ApplicationGatewayPathRuleInner object itself.
-
loadDistributionPolicy
public com.azure.core.management.SubResource loadDistributionPolicy()
Get the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.- Returns:
- the loadDistributionPolicy value.
-
withLoadDistributionPolicy
public ApplicationGatewayPathRuleInner withLoadDistributionPolicy(com.azure.core.management.SubResource loadDistributionPolicy)
Set the loadDistributionPolicy property: Load Distribution Policy resource of URL path map path rule.- Parameters:
loadDistributionPolicy- the loadDistributionPolicy value to set.- Returns:
- the ApplicationGatewayPathRuleInner object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the path rule resource.- Returns:
- the provisioningState value.
-
firewallPolicy
public com.azure.core.management.SubResource firewallPolicy()
Get the firewallPolicy property: Reference to the FirewallPolicy resource.- Returns:
- the firewallPolicy value.
-
withFirewallPolicy
public ApplicationGatewayPathRuleInner withFirewallPolicy(com.azure.core.management.SubResource firewallPolicy)
Set the firewallPolicy property: Reference to the FirewallPolicy resource.- Parameters:
firewallPolicy- the firewallPolicy value to set.- Returns:
- the ApplicationGatewayPathRuleInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-