com.pulumi.aws.wafv2.inputs.WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.aws.wafv2.inputs;
import com.pulumi.aws.wafv2.inputs.WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingInsertHeaderArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
public final class WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs extends com.pulumi.resources.ResourceArgs {
public static final WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs Empty = new WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs();
/**
* The `insert_header` blocks used to define HTTP headers added to the request. See `insert_header` below for details.
*
*/
@Import(name="insertHeaders", required=true)
private Output> insertHeaders;
/**
* @return The `insert_header` blocks used to define HTTP headers added to the request. See `insert_header` below for details.
*
*/
public Output> insertHeaders() {
return this.insertHeaders;
}
private WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs() {}
private WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs(WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs $) {
this.insertHeaders = $.insertHeaders;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs $;
public Builder() {
$ = new WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs();
}
public Builder(WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs defaults) {
$ = new WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs(Objects.requireNonNull(defaults));
}
/**
* @param insertHeaders The `insert_header` blocks used to define HTTP headers added to the request. See `insert_header` below for details.
*
* @return builder
*
*/
public Builder insertHeaders(Output> insertHeaders) {
$.insertHeaders = insertHeaders;
return this;
}
/**
* @param insertHeaders The `insert_header` blocks used to define HTTP headers added to the request. See `insert_header` below for details.
*
* @return builder
*
*/
public Builder insertHeaders(List insertHeaders) {
return insertHeaders(Output.of(insertHeaders));
}
/**
* @param insertHeaders The `insert_header` blocks used to define HTTP headers added to the request. See `insert_header` below for details.
*
* @return builder
*
*/
public Builder insertHeaders(WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingInsertHeaderArgs... insertHeaders) {
return insertHeaders(List.of(insertHeaders));
}
public WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs build() {
if ($.insertHeaders == null) {
throw new MissingRequiredPropertyException("WebAclRuleStatementRuleGroupReferenceStatementRuleActionOverrideActionToUseCountCustomRequestHandlingArgs", "insertHeaders");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy