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

com.pulumi.aws.ec2.inputs.NetworkAclAssociationState 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.66.3
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.ec2.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 NetworkAclAssociationState extends com.pulumi.resources.ResourceArgs {

    public static final NetworkAclAssociationState Empty = new NetworkAclAssociationState();

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

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

    /**
     * The ID of the associated Subnet.
     * 
     */
    @Import(name="subnetId")
    private @Nullable Output subnetId;

    /**
     * @return The ID of the associated Subnet.
     * 
     */
    public Optional> subnetId() {
        return Optional.ofNullable(this.subnetId);
    }

    private NetworkAclAssociationState() {}

    private NetworkAclAssociationState(NetworkAclAssociationState $) {
        this.networkAclId = $.networkAclId;
        this.subnetId = $.subnetId;
    }

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

    public static final class Builder {
        private NetworkAclAssociationState $;

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

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

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

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

        /**
         * @param subnetId The ID of the associated Subnet.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(@Nullable Output subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param subnetId The ID of the associated Subnet.
         * 
         * @return builder
         * 
         */
        public Builder subnetId(String subnetId) {
            return subnetId(Output.of(subnetId));
        }

        public NetworkAclAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy