com.pulumi.aws.wafv2.outputs.WebAclRuleCaptchaConfigImmunityTimeProperty 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.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class WebAclRuleCaptchaConfigImmunityTimeProperty {
/**
* @return The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by AWS WAF. The default setting is 300.
*
*/
private @Nullable Integer immunityTime;
private WebAclRuleCaptchaConfigImmunityTimeProperty() {}
/**
* @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);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WebAclRuleCaptchaConfigImmunityTimeProperty defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer immunityTime;
public Builder() {}
public Builder(WebAclRuleCaptchaConfigImmunityTimeProperty defaults) {
Objects.requireNonNull(defaults);
this.immunityTime = defaults.immunityTime;
}
@CustomType.Setter
public Builder immunityTime(@Nullable Integer immunityTime) {
this.immunityTime = immunityTime;
return this;
}
public WebAclRuleCaptchaConfigImmunityTimeProperty build() {
final var _resultValue = new WebAclRuleCaptchaConfigImmunityTimeProperty();
_resultValue.immunityTime = immunityTime;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy