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; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
Set of actions in the Rewrite Rule in Application Gateway.
/** * Set of actions in the Rewrite Rule in Application Gateway. */
public class ApplicationGatewayRewriteRuleActionSet {
Request Header Actions in the Action Set.
/** * Request Header Actions in the Action Set. */
@JsonProperty(value = "requestHeaderConfigurations") private List<ApplicationGatewayHeaderConfiguration> requestHeaderConfigurations;
Response Header Actions in the Action Set.
/** * Response Header Actions in the Action Set. */
@JsonProperty(value = "responseHeaderConfigurations") private List<ApplicationGatewayHeaderConfiguration> responseHeaderConfigurations;
Url Configuration Action in the Action Set.
/** * Url Configuration Action in the Action Set. */
@JsonProperty(value = "urlConfiguration") private ApplicationGatewayUrlConfiguration urlConfiguration;
Get request Header Actions in the Action Set.
Returns:the requestHeaderConfigurations value
/** * Get request Header Actions in the Action Set. * * @return the requestHeaderConfigurations value */
public List<ApplicationGatewayHeaderConfiguration> requestHeaderConfigurations() { return this.requestHeaderConfigurations; }
Set request Header Actions in the Action Set.
Params:
  • requestHeaderConfigurations – the requestHeaderConfigurations value to set
Returns:the ApplicationGatewayRewriteRuleActionSet object itself.
/** * Set request Header Actions in the Action Set. * * @param requestHeaderConfigurations the requestHeaderConfigurations value to set * @return the ApplicationGatewayRewriteRuleActionSet object itself. */
public ApplicationGatewayRewriteRuleActionSet withRequestHeaderConfigurations(List<ApplicationGatewayHeaderConfiguration> requestHeaderConfigurations) { this.requestHeaderConfigurations = requestHeaderConfigurations; return this; }
Get response Header Actions in the Action Set.
Returns:the responseHeaderConfigurations value
/** * Get response Header Actions in the Action Set. * * @return the responseHeaderConfigurations value */
public List<ApplicationGatewayHeaderConfiguration> responseHeaderConfigurations() { return this.responseHeaderConfigurations; }
Set response Header Actions in the Action Set.
Params:
  • responseHeaderConfigurations – the responseHeaderConfigurations value to set
Returns:the ApplicationGatewayRewriteRuleActionSet object itself.
/** * Set response Header Actions in the Action Set. * * @param responseHeaderConfigurations the responseHeaderConfigurations value to set * @return the ApplicationGatewayRewriteRuleActionSet object itself. */
public ApplicationGatewayRewriteRuleActionSet withResponseHeaderConfigurations(List<ApplicationGatewayHeaderConfiguration> responseHeaderConfigurations) { this.responseHeaderConfigurations = responseHeaderConfigurations; return this; }
Get url Configuration Action in the Action Set.
Returns:the urlConfiguration value
/** * Get url Configuration Action in the Action Set. * * @return the urlConfiguration value */
public ApplicationGatewayUrlConfiguration urlConfiguration() { return this.urlConfiguration; }
Set url Configuration Action in the Action Set.
Params:
  • urlConfiguration – the urlConfiguration value to set
Returns:the ApplicationGatewayRewriteRuleActionSet object itself.
/** * Set url Configuration Action in the Action Set. * * @param urlConfiguration the urlConfiguration value to set * @return the ApplicationGatewayRewriteRuleActionSet object itself. */
public ApplicationGatewayRewriteRuleActionSet withUrlConfiguration(ApplicationGatewayUrlConfiguration urlConfiguration) { this.urlConfiguration = urlConfiguration; return this; } }