com.pulumi.aws.wafv2.outputs.RuleGroupRuleActionAllow 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.outputs;
import com.pulumi.aws.wafv2.outputs.RuleGroupRuleActionAllowCustomRequestHandling;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class RuleGroupRuleActionAllow {
/**
* @return Defines custom handling for the web request. See Custom Request Handling below for details.
*
*/
private @Nullable RuleGroupRuleActionAllowCustomRequestHandling customRequestHandling;
private RuleGroupRuleActionAllow() {}
/**
* @return Defines custom handling for the web request. See Custom Request Handling below for details.
*
*/
public Optional customRequestHandling() {
return Optional.ofNullable(this.customRequestHandling);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RuleGroupRuleActionAllow defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable RuleGroupRuleActionAllowCustomRequestHandling customRequestHandling;
public Builder() {}
public Builder(RuleGroupRuleActionAllow defaults) {
Objects.requireNonNull(defaults);
this.customRequestHandling = defaults.customRequestHandling;
}
@CustomType.Setter
public Builder customRequestHandling(@Nullable RuleGroupRuleActionAllowCustomRequestHandling customRequestHandling) {
this.customRequestHandling = customRequestHandling;
return this;
}
public RuleGroupRuleActionAllow build() {
final var _resultValue = new RuleGroupRuleActionAllow();
_resultValue.customRequestHandling = customRequestHandling;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy