com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementScopeDownStatementAndStatement 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.RuleGroupRuleStatement;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class RuleGroupRuleStatementRateBasedStatementScopeDownStatementAndStatement {
/**
* @return The statements to combine.
*
*/
private List statements;
private RuleGroupRuleStatementRateBasedStatementScopeDownStatementAndStatement() {}
/**
* @return The statements to combine.
*
*/
public List statements() {
return this.statements;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementAndStatement defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List statements;
public Builder() {}
public Builder(RuleGroupRuleStatementRateBasedStatementScopeDownStatementAndStatement defaults) {
Objects.requireNonNull(defaults);
this.statements = defaults.statements;
}
@CustomType.Setter
public Builder statements(List statements) {
if (statements == null) {
throw new MissingRequiredPropertyException("RuleGroupRuleStatementRateBasedStatementScopeDownStatementAndStatement", "statements");
}
this.statements = statements;
return this;
}
public Builder statements(RuleGroupRuleStatement... statements) {
return statements(List.of(statements));
}
public RuleGroupRuleStatementRateBasedStatementScopeDownStatementAndStatement build() {
final var _resultValue = new RuleGroupRuleStatementRateBasedStatementScopeDownStatementAndStatement();
_resultValue.statements = statements;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy