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

com.pulumi.aws.wafv2.inputs.RuleGroupRuleActionChallengeArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** 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.RuleGroupRuleActionChallengeCustomRequestHandlingArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final RuleGroupRuleActionChallengeArgs Empty = new RuleGroupRuleActionChallengeArgs();

    /**
     * Defines custom handling for the web request. See Custom Request Handling below for details.
     * 
     */
    @Import(name="customRequestHandling")
    private @Nullable Output customRequestHandling;

    /**
     * @return Defines custom handling for the web request. See Custom Request Handling below for details.
     * 
     */
    public Optional> customRequestHandling() {
        return Optional.ofNullable(this.customRequestHandling);
    }

    private RuleGroupRuleActionChallengeArgs() {}

    private RuleGroupRuleActionChallengeArgs(RuleGroupRuleActionChallengeArgs $) {
        this.customRequestHandling = $.customRequestHandling;
    }

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

    public static final class Builder {
        private RuleGroupRuleActionChallengeArgs $;

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

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

        /**
         * @param customRequestHandling Defines custom handling for the web request. See Custom Request Handling below for details.
         * 
         * @return builder
         * 
         */
        public Builder customRequestHandling(@Nullable Output customRequestHandling) {
            $.customRequestHandling = customRequestHandling;
            return this;
        }

        /**
         * @param customRequestHandling Defines custom handling for the web request. See Custom Request Handling below for details.
         * 
         * @return builder
         * 
         */
        public Builder customRequestHandling(RuleGroupRuleActionChallengeCustomRequestHandlingArgs customRequestHandling) {
            return customRequestHandling(Output.of(customRequestHandling));
        }

        public RuleGroupRuleActionChallengeArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy