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

com.pulumi.aws.wafv2.inputs.GetWebAclPlainArgs Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
Show 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.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetWebAclPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetWebAclPlainArgs Empty = new GetWebAclPlainArgs();

    /**
     * Name of the WAFv2 Web ACL.
     * 
     */
    @Import(name="name", required=true)
    private String name;

    /**
     * @return Name of the WAFv2 Web ACL.
     * 
     */
    public String name() {
        return this.name;
    }

    /**
     * Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
     * 
     */
    @Import(name="scope", required=true)
    private String scope;

    /**
     * @return Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
     * 
     */
    public String scope() {
        return this.scope;
    }

    private GetWebAclPlainArgs() {}

    private GetWebAclPlainArgs(GetWebAclPlainArgs $) {
        this.name = $.name;
        this.scope = $.scope;
    }

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

    public static final class Builder {
        private GetWebAclPlainArgs $;

        public Builder() {
            $ = new GetWebAclPlainArgs();
        }

        public Builder(GetWebAclPlainArgs defaults) {
            $ = new GetWebAclPlainArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param name Name of the WAFv2 Web ACL.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            $.name = name;
            return this;
        }

        /**
         * @param scope Specifies whether this is for an AWS CloudFront distribution or for a regional application. Valid values are `CLOUDFRONT` or `REGIONAL`. To work with CloudFront, you must also specify the region `us-east-1` (N. Virginia) on the AWS provider.
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            $.scope = scope;
            return this;
        }

        public GetWebAclPlainArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetWebAclPlainArgs", "name");
            }
            if ($.scope == null) {
                throw new MissingRequiredPropertyException("GetWebAclPlainArgs", "scope");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy