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

com.pulumi.azurenative.awsconnector.inputs.AwsEc2NetworkAclPropertiesArgs Maven / Gradle / Ivy

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.azurenative.awsconnector.inputs;

import com.pulumi.azurenative.awsconnector.inputs.TagArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of awsEc2NetworkAcl
 * 
 */
public final class AwsEc2NetworkAclPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AwsEc2NetworkAclPropertiesArgs Empty = new AwsEc2NetworkAclPropertiesArgs();

    /**
     * Property id
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Property id
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The tags for the network ACL.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return The tags for the network ACL.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * The ID of the VPC for the network ACL.
     * 
     */
    @Import(name="vpcId")
    private @Nullable Output vpcId;

    /**
     * @return The ID of the VPC for the network ACL.
     * 
     */
    public Optional> vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

    private AwsEc2NetworkAclPropertiesArgs() {}

    private AwsEc2NetworkAclPropertiesArgs(AwsEc2NetworkAclPropertiesArgs $) {
        this.id = $.id;
        this.tags = $.tags;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private AwsEc2NetworkAclPropertiesArgs $;

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

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

        /**
         * @param id Property id
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Property id
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param tags The tags for the network ACL.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags The tags for the network ACL.
         * 
         * @return builder
         * 
         */
        public Builder tags(List tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tags The tags for the network ACL.
         * 
         * @return builder
         * 
         */
        public Builder tags(TagArgs... tags) {
            return tags(List.of(tags));
        }

        /**
         * @param vpcId The ID of the VPC for the network ACL.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(@Nullable Output vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        /**
         * @param vpcId The ID of the VPC for the network ACL.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(String vpcId) {
            return vpcId(Output.of(vpcId));
        }

        public AwsEc2NetworkAclPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy