com.pulumi.aws.wafv2.outputs.GetRegexPatternSetRegularExpression 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetRegexPatternSetRegularExpression {
/**
* @return (Required) String representing the regular expression, see the AWS WAF [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-regex-pattern-set-creating.html) for more information.
*
*/
private String regexString;
private GetRegexPatternSetRegularExpression() {}
/**
* @return (Required) String representing the regular expression, see the AWS WAF [documentation](https://docs.aws.amazon.com/waf/latest/developerguide/waf-regex-pattern-set-creating.html) for more information.
*
*/
public String regexString() {
return this.regexString;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetRegexPatternSetRegularExpression defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String regexString;
public Builder() {}
public Builder(GetRegexPatternSetRegularExpression defaults) {
Objects.requireNonNull(defaults);
this.regexString = defaults.regexString;
}
@CustomType.Setter
public Builder regexString(String regexString) {
if (regexString == null) {
throw new MissingRequiredPropertyException("GetRegexPatternSetRegularExpression", "regexString");
}
this.regexString = regexString;
return this;
}
public GetRegexPatternSetRegularExpression build() {
final var _resultValue = new GetRegexPatternSetRegularExpression();
_resultValue.regexString = regexString;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy