Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network.implementation; import java.util.List; import com.microsoft.azure.SubResource; import com.microsoft.azure.management.network.ProvisioningState; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten;
Path rule of URL path map of an application gateway.
/** * Path rule of URL path map of an application gateway. */
@JsonFlatten public class ApplicationGatewayPathRuleInner extends SubResource {
Path rules of URL path map.
/** * Path rules of URL path map. */
@JsonProperty(value = "properties.paths") private List<String> paths;
Backend address pool resource of URL path map path rule.
/** * Backend address pool resource of URL path map path rule. */
@JsonProperty(value = "properties.backendAddressPool") private SubResource backendAddressPool;
Backend http settings resource of URL path map path rule.
/** * Backend http settings resource of URL path map path rule. */
@JsonProperty(value = "properties.backendHttpSettings") private SubResource backendHttpSettings;
Redirect configuration resource of URL path map path rule.
/** * Redirect configuration resource of URL path map path rule. */
@JsonProperty(value = "properties.redirectConfiguration") private SubResource redirectConfiguration;
Rewrite rule set resource of URL path map path rule.
/** * Rewrite rule set resource of URL path map path rule. */
@JsonProperty(value = "properties.rewriteRuleSet") private SubResource rewriteRuleSet;
The provisioning state of the path rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
/** * The provisioning state of the path rule resource. Possible values * include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState;
Reference to the FirewallPolicy resource.
/** * Reference to the FirewallPolicy resource. */
@JsonProperty(value = "properties.firewallPolicy") private SubResource firewallPolicy;
Name of the path rule that is unique within an Application Gateway.
/** * Name of the path rule that is unique within an Application Gateway. */
@JsonProperty(value = "name") private String name;
A unique read-only string that changes whenever the resource is updated.
/** * A unique read-only string that changes whenever the resource is updated. */
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY) private String etag;
Type of the resource.
/** * Type of the resource. */
@JsonProperty(value = "type", access = JsonProperty.Access.WRITE_ONLY) private String type;
Get path rules of URL path map.
Returns:the paths value
/** * Get path rules of URL path map. * * @return the paths value */
public List<String> paths() { return this.paths; }
Set path rules of URL path map.
Params:
  • paths – the paths value to set
Returns:the ApplicationGatewayPathRuleInner object itself.
/** * Set path rules of URL path map. * * @param paths the paths value to set * @return the ApplicationGatewayPathRuleInner object itself. */
public ApplicationGatewayPathRuleInner withPaths(List<String> paths) { this.paths = paths; return this; }
Get backend address pool resource of URL path map path rule.
Returns:the backendAddressPool value
/** * Get backend address pool resource of URL path map path rule. * * @return the backendAddressPool value */
public SubResource backendAddressPool() { return this.backendAddressPool; }
Set backend address pool resource of URL path map path rule.
Params:
  • backendAddressPool – the backendAddressPool value to set
Returns:the ApplicationGatewayPathRuleInner object itself.
/** * Set backend address pool resource of URL path map path rule. * * @param backendAddressPool the backendAddressPool value to set * @return the ApplicationGatewayPathRuleInner object itself. */
public ApplicationGatewayPathRuleInner withBackendAddressPool(SubResource backendAddressPool) { this.backendAddressPool = backendAddressPool; return this; }
Get backend http settings resource of URL path map path rule.
Returns:the backendHttpSettings value
/** * Get backend http settings resource of URL path map path rule. * * @return the backendHttpSettings value */
public SubResource backendHttpSettings() { return this.backendHttpSettings; }
Set backend http settings resource of URL path map path rule.
Params:
  • backendHttpSettings – the backendHttpSettings value to set
Returns:the ApplicationGatewayPathRuleInner object itself.
/** * Set backend http settings resource of URL path map path rule. * * @param backendHttpSettings the backendHttpSettings value to set * @return the ApplicationGatewayPathRuleInner object itself. */
public ApplicationGatewayPathRuleInner withBackendHttpSettings(SubResource backendHttpSettings) { this.backendHttpSettings = backendHttpSettings; return this; }
Get redirect configuration resource of URL path map path rule.
Returns:the redirectConfiguration value
/** * Get redirect configuration resource of URL path map path rule. * * @return the redirectConfiguration value */
public SubResource redirectConfiguration() { return this.redirectConfiguration; }
Set redirect configuration resource of URL path map path rule.
Params:
  • redirectConfiguration – the redirectConfiguration value to set
Returns:the ApplicationGatewayPathRuleInner object itself.
/** * Set redirect configuration resource of URL path map path rule. * * @param redirectConfiguration the redirectConfiguration value to set * @return the ApplicationGatewayPathRuleInner object itself. */
public ApplicationGatewayPathRuleInner withRedirectConfiguration(SubResource redirectConfiguration) { this.redirectConfiguration = redirectConfiguration; return this; }
Get rewrite rule set resource of URL path map path rule.
Returns:the rewriteRuleSet value
/** * Get rewrite rule set resource of URL path map path rule. * * @return the rewriteRuleSet value */
public SubResource rewriteRuleSet() { return this.rewriteRuleSet; }
Set rewrite rule set resource of URL path map path rule.
Params:
  • rewriteRuleSet – the rewriteRuleSet value to set
Returns:the ApplicationGatewayPathRuleInner object itself.
/** * Set rewrite rule set resource of URL path map path rule. * * @param rewriteRuleSet the rewriteRuleSet value to set * @return the ApplicationGatewayPathRuleInner object itself. */
public ApplicationGatewayPathRuleInner withRewriteRuleSet(SubResource rewriteRuleSet) { this.rewriteRuleSet = rewriteRuleSet; return this; }
Get the provisioning state of the path rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:the provisioningState value
/** * Get the provisioning state of the path rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. * * @return the provisioningState value */
public ProvisioningState provisioningState() { return this.provisioningState; }
Get reference to the FirewallPolicy resource.
Returns:the firewallPolicy value
/** * Get reference to the FirewallPolicy resource. * * @return the firewallPolicy value */
public SubResource firewallPolicy() { return this.firewallPolicy; }
Set reference to the FirewallPolicy resource.
Params:
  • firewallPolicy – the firewallPolicy value to set
Returns:the ApplicationGatewayPathRuleInner object itself.
/** * Set reference to the FirewallPolicy resource. * * @param firewallPolicy the firewallPolicy value to set * @return the ApplicationGatewayPathRuleInner object itself. */
public ApplicationGatewayPathRuleInner withFirewallPolicy(SubResource firewallPolicy) { this.firewallPolicy = firewallPolicy; return this; }
Get name of the path rule that is unique within an Application Gateway.
Returns:the name value
/** * Get name of the path rule that is unique within an Application Gateway. * * @return the name value */
public String name() { return this.name; }
Set name of the path rule that is unique within an Application Gateway.
Params:
  • name – the name value to set
Returns:the ApplicationGatewayPathRuleInner object itself.
/** * Set name of the path rule that is unique within an Application Gateway. * * @param name the name value to set * @return the ApplicationGatewayPathRuleInner object itself. */
public ApplicationGatewayPathRuleInner withName(String name) { this.name = name; return this; }
Get a unique read-only string that changes whenever the resource is updated.
Returns:the etag value
/** * Get a unique read-only string that changes whenever the resource is updated. * * @return the etag value */
public String etag() { return this.etag; }
Get type of the resource.
Returns:the type value
/** * Get type of the resource. * * @return the type value */
public String type() { return this.type; } }