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

com.pulumi.aws.wafv2.inputs.WebAclRuleCaptchaConfigImmunityTimePropertyArgs 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 java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WebAclRuleCaptchaConfigImmunityTimePropertyArgs Empty = new WebAclRuleCaptchaConfigImmunityTimePropertyArgs();

    /**
     * The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by AWS WAF. The default setting is 300.
     * 
     */
    @Import(name="immunityTime")
    private @Nullable Output immunityTime;

    /**
     * @return The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by AWS WAF. The default setting is 300.
     * 
     */
    public Optional> immunityTime() {
        return Optional.ofNullable(this.immunityTime);
    }

    private WebAclRuleCaptchaConfigImmunityTimePropertyArgs() {}

    private WebAclRuleCaptchaConfigImmunityTimePropertyArgs(WebAclRuleCaptchaConfigImmunityTimePropertyArgs $) {
        this.immunityTime = $.immunityTime;
    }

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

    public static final class Builder {
        private WebAclRuleCaptchaConfigImmunityTimePropertyArgs $;

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

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

        /**
         * @param immunityTime The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by AWS WAF. The default setting is 300.
         * 
         * @return builder
         * 
         */
        public Builder immunityTime(@Nullable Output immunityTime) {
            $.immunityTime = immunityTime;
            return this;
        }

        /**
         * @param immunityTime The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by AWS WAF. The default setting is 300.
         * 
         * @return builder
         * 
         */
        public Builder immunityTime(Integer immunityTime) {
            return immunityTime(Output.of(immunityTime));
        }

        public WebAclRuleCaptchaConfigImmunityTimePropertyArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy