com.pulumi.azure.cdn.inputs.FrontdoorRuleActionsResponseHeaderActionArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.cdn.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class FrontdoorRuleActionsResponseHeaderActionArgs extends com.pulumi.resources.ResourceArgs {
public static final FrontdoorRuleActionsResponseHeaderActionArgs Empty = new FrontdoorRuleActionsResponseHeaderActionArgs();
/**
* The action to be taken on the specified `header_name`. Possible values include `Append`, `Overwrite` or `Delete`.
*
* > **NOTE:** `Append` causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added. `Overwrite` causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value. `Delete` causes the header to be deleted from the request.
*
*/
@Import(name="headerAction", required=true)
private Output headerAction;
/**
* @return The action to be taken on the specified `header_name`. Possible values include `Append`, `Overwrite` or `Delete`.
*
* > **NOTE:** `Append` causes the specified header to be added to the request with the specified value. If the header is already present, the value is appended to the existing header value using string concatenation. No delimiters are added. `Overwrite` causes specified header to be added to the request with the specified value. If the header is already present, the specified value overwrites the existing value. `Delete` causes the header to be deleted from the request.
*
*/
public Output headerAction() {
return this.headerAction;
}
/**
* The name of the header to modify.
*
*/
@Import(name="headerName", required=true)
private Output headerName;
/**
* @return The name of the header to modify.
*
*/
public Output headerName() {
return this.headerName;
}
/**
* The value to append or overwrite.
*
* ->**NOTE:** `value` is required if the `header_action` is set to `Append` or `Overwrite`.
*
*/
@Import(name="value")
private @Nullable Output value;
/**
* @return The value to append or overwrite.
*
* ->**NOTE:** `value` is required if the `header_action` is set to `Append` or `Overwrite`.
*
*/
public Optional