com.pulumi.aws.wafv2.outputs.RuleGroupRuleStatementRateBasedStatementCustomKeyUriPath 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.RuleGroupRuleStatementRateBasedStatementCustomKeyUriPathTextTransformation;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class RuleGroupRuleStatementRateBasedStatementCustomKeyUriPath {
/**
* @return Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. They are used in rate-based rule statements, to transform request components before using them as custom aggregation keys. Atleast one transformation is required. See Text Transformation above for details.
*
*/
private List textTransformations;
private RuleGroupRuleStatementRateBasedStatementCustomKeyUriPath() {}
/**
* @return Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. They are used in rate-based rule statements, to transform request components before using them as custom aggregation keys. Atleast one transformation is required. See Text Transformation above for details.
*
*/
public List textTransformations() {
return this.textTransformations;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RuleGroupRuleStatementRateBasedStatementCustomKeyUriPath defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List textTransformations;
public Builder() {}
public Builder(RuleGroupRuleStatementRateBasedStatementCustomKeyUriPath defaults) {
Objects.requireNonNull(defaults);
this.textTransformations = defaults.textTransformations;
}
@CustomType.Setter
public Builder textTransformations(List textTransformations) {
if (textTransformations == null) {
throw new MissingRequiredPropertyException("RuleGroupRuleStatementRateBasedStatementCustomKeyUriPath", "textTransformations");
}
this.textTransformations = textTransformations;
return this;
}
public Builder textTransformations(RuleGroupRuleStatementRateBasedStatementCustomKeyUriPathTextTransformation... textTransformations) {
return textTransformations(List.of(textTransformations));
}
public RuleGroupRuleStatementRateBasedStatementCustomKeyUriPath build() {
final var _resultValue = new RuleGroupRuleStatementRateBasedStatementCustomKeyUriPath();
_resultValue.textTransformations = textTransformations;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy