All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.wafv2.inputs.WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs 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.aws.wafv2.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;


public final class WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs extends com.pulumi.resources.ResourceArgs {

    public static final WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs Empty = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs();

    /**
     * Values in the response header with the specified name that indicate a failed login attempt.
     * 
     */
    @Import(name="failureValues", required=true)
    private Output> failureValues;

    /**
     * @return Values in the response header with the specified name that indicate a failed login attempt.
     * 
     */
    public Output> failureValues() {
        return this.failureValues;
    }

    /**
     * The identifier for the value to match against in the JSON.
     * 
     */
    @Import(name="identifier", required=true)
    private Output identifier;

    /**
     * @return The identifier for the value to match against in the JSON.
     * 
     */
    public Output identifier() {
        return this.identifier;
    }

    /**
     * Values in the response header with the specified name that indicate a successful login attempt.
     * 
     */
    @Import(name="successValues", required=true)
    private Output> successValues;

    /**
     * @return Values in the response header with the specified name that indicate a successful login attempt.
     * 
     */
    public Output> successValues() {
        return this.successValues;
    }

    private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs() {}

    private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs $) {
        this.failureValues = $.failureValues;
        this.identifier = $.identifier;
        this.successValues = $.successValues;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs $;

        public Builder() {
            $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs();
        }

        public Builder(WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs defaults) {
            $ = new WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param failureValues Values in the response header with the specified name that indicate a failed login attempt.
         * 
         * @return builder
         * 
         */
        public Builder failureValues(Output> failureValues) {
            $.failureValues = failureValues;
            return this;
        }

        /**
         * @param failureValues Values in the response header with the specified name that indicate a failed login attempt.
         * 
         * @return builder
         * 
         */
        public Builder failureValues(List failureValues) {
            return failureValues(Output.of(failureValues));
        }

        /**
         * @param failureValues Values in the response header with the specified name that indicate a failed login attempt.
         * 
         * @return builder
         * 
         */
        public Builder failureValues(String... failureValues) {
            return failureValues(List.of(failureValues));
        }

        /**
         * @param identifier The identifier for the value to match against in the JSON.
         * 
         * @return builder
         * 
         */
        public Builder identifier(Output identifier) {
            $.identifier = identifier;
            return this;
        }

        /**
         * @param identifier The identifier for the value to match against in the JSON.
         * 
         * @return builder
         * 
         */
        public Builder identifier(String identifier) {
            return identifier(Output.of(identifier));
        }

        /**
         * @param successValues Values in the response header with the specified name that indicate a successful login attempt.
         * 
         * @return builder
         * 
         */
        public Builder successValues(Output> successValues) {
            $.successValues = successValues;
            return this;
        }

        /**
         * @param successValues Values in the response header with the specified name that indicate a successful login attempt.
         * 
         * @return builder
         * 
         */
        public Builder successValues(List successValues) {
            return successValues(Output.of(successValues));
        }

        /**
         * @param successValues Values in the response header with the specified name that indicate a successful login attempt.
         * 
         * @return builder
         * 
         */
        public Builder successValues(String... successValues) {
            return successValues(List.of(successValues));
        }

        public WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs build() {
            if ($.failureValues == null) {
                throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs", "failureValues");
            }
            if ($.identifier == null) {
                throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs", "identifier");
            }
            if ($.successValues == null) {
                throw new MissingRequiredPropertyException("WebAclRuleStatementManagedRuleGroupStatementManagedRuleGroupConfigAwsManagedRulesAcfpRuleSetResponseInspectionJsonArgs", "successValues");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy