All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.wafv2.outputs.GetRegexPatternSetResult Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** 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.GetRegexPatternSetRegularExpression;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetRegexPatternSetResult {
    /**
     * @return ARN of the entity.
     * 
     */
    private String arn;
    /**
     * @return Description of the set that helps with identification.
     * 
     */
    private String description;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String name;
    /**
     * @return One or more blocks of regular expression patterns that AWS WAF is searching for. See Regular Expression below for details.
     * 
     */
    private List regularExpressions;
    private String scope;

    private GetRegexPatternSetResult() {}
    /**
     * @return ARN of the entity.
     * 
     */
    public String arn() {
        return this.arn;
    }
    /**
     * @return Description of the set that helps with identification.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String name() {
        return this.name;
    }
    /**
     * @return One or more blocks of regular expression patterns that AWS WAF is searching for. See Regular Expression below for details.
     * 
     */
    public List regularExpressions() {
        return this.regularExpressions;
    }
    public String scope() {
        return this.scope;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetRegexPatternSetResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String arn;
        private String description;
        private String id;
        private String name;
        private List regularExpressions;
        private String scope;
        public Builder() {}
        public Builder(GetRegexPatternSetResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.arn = defaults.arn;
    	      this.description = defaults.description;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.regularExpressions = defaults.regularExpressions;
    	      this.scope = defaults.scope;
        }

        @CustomType.Setter
        public Builder arn(String arn) {
            if (arn == null) {
              throw new MissingRequiredPropertyException("GetRegexPatternSetResult", "arn");
            }
            this.arn = arn;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetRegexPatternSetResult", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetRegexPatternSetResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetRegexPatternSetResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder regularExpressions(List regularExpressions) {
            if (regularExpressions == null) {
              throw new MissingRequiredPropertyException("GetRegexPatternSetResult", "regularExpressions");
            }
            this.regularExpressions = regularExpressions;
            return this;
        }
        public Builder regularExpressions(GetRegexPatternSetRegularExpression... regularExpressions) {
            return regularExpressions(List.of(regularExpressions));
        }
        @CustomType.Setter
        public Builder scope(String scope) {
            if (scope == null) {
              throw new MissingRequiredPropertyException("GetRegexPatternSetResult", "scope");
            }
            this.scope = scope;
            return this;
        }
        public GetRegexPatternSetResult build() {
            final var _resultValue = new GetRegexPatternSetResult();
            _resultValue.arn = arn;
            _resultValue.description = description;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.regularExpressions = regularExpressions;
            _resultValue.scope = scope;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy