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

com.pulumi.aws.ec2.inputs.GetNetworkAclsPlainArgs 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.ec2.inputs;

import com.pulumi.aws.ec2.inputs.GetNetworkAclsFilter;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetNetworkAclsPlainArgs Empty = new GetNetworkAclsPlainArgs();

    /**
     * Custom filter block as described below.
     * 
     * More complex filters can be expressed using one or more `filter` sub-blocks,
     * which take the following arguments:
     * 
     */
    @Import(name="filters")
    private @Nullable List filters;

    /**
     * @return Custom filter block as described below.
     * 
     * More complex filters can be expressed using one or more `filter` sub-blocks,
     * which take the following arguments:
     * 
     */
    public Optional> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * Map of tags, each pair of which must exactly match
     * a pair on the desired network ACLs.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Map of tags, each pair of which must exactly match
     * a pair on the desired network ACLs.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * VPC ID that you want to filter from.
     * 
     */
    @Import(name="vpcId")
    private @Nullable String vpcId;

    /**
     * @return VPC ID that you want to filter from.
     * 
     */
    public Optional vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

    private GetNetworkAclsPlainArgs() {}

    private GetNetworkAclsPlainArgs(GetNetworkAclsPlainArgs $) {
        this.filters = $.filters;
        this.tags = $.tags;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private GetNetworkAclsPlainArgs $;

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

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

        /**
         * @param filters Custom filter block as described below.
         * 
         * More complex filters can be expressed using one or more `filter` sub-blocks,
         * which take the following arguments:
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable List filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters Custom filter block as described below.
         * 
         * More complex filters can be expressed using one or more `filter` sub-blocks,
         * which take the following arguments:
         * 
         * @return builder
         * 
         */
        public Builder filters(GetNetworkAclsFilter... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param tags Map of tags, each pair of which must exactly match
         * a pair on the desired network ACLs.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param vpcId VPC ID that you want to filter from.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(@Nullable String vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        public GetNetworkAclsPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy