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

com.pulumi.aws.wafregional.inputs.WebAclAssociationState 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.wafregional.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class WebAclAssociationState extends com.pulumi.resources.ResourceArgs {

    public static final WebAclAssociationState Empty = new WebAclAssociationState();

    /**
     * ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
     * 
     */
    @Import(name="resourceArn")
    private @Nullable Output resourceArn;

    /**
     * @return ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
     * 
     */
    public Optional> resourceArn() {
        return Optional.ofNullable(this.resourceArn);
    }

    /**
     * The ID of the WAF Regional WebACL to create an association.
     * 
     */
    @Import(name="webAclId")
    private @Nullable Output webAclId;

    /**
     * @return The ID of the WAF Regional WebACL to create an association.
     * 
     */
    public Optional> webAclId() {
        return Optional.ofNullable(this.webAclId);
    }

    private WebAclAssociationState() {}

    private WebAclAssociationState(WebAclAssociationState $) {
        this.resourceArn = $.resourceArn;
        this.webAclId = $.webAclId;
    }

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

    public static final class Builder {
        private WebAclAssociationState $;

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

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

        /**
         * @param resourceArn ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
         * 
         * @return builder
         * 
         */
        public Builder resourceArn(@Nullable Output resourceArn) {
            $.resourceArn = resourceArn;
            return this;
        }

        /**
         * @param resourceArn ARN of the resource to associate with. For example, an Application Load Balancer or API Gateway Stage.
         * 
         * @return builder
         * 
         */
        public Builder resourceArn(String resourceArn) {
            return resourceArn(Output.of(resourceArn));
        }

        /**
         * @param webAclId The ID of the WAF Regional WebACL to create an association.
         * 
         * @return builder
         * 
         */
        public Builder webAclId(@Nullable Output webAclId) {
            $.webAclId = webAclId;
            return this;
        }

        /**
         * @param webAclId The ID of the WAF Regional WebACL to create an association.
         * 
         * @return builder
         * 
         */
        public Builder webAclId(String webAclId) {
            return webAclId(Output.of(webAclId));
        }

        public WebAclAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy