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

com.pulumi.alicloud.vpc.inputs.VpcNetworkAclAttachmentState Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.vpc.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 VpcNetworkAclAttachmentState extends com.pulumi.resources.ResourceArgs {

    public static final VpcNetworkAclAttachmentState Empty = new VpcNetworkAclAttachmentState();

    /**
     * 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 resource.
     * 
     */
    @Import(name="resourceId")
    private @Nullable Output resourceId;

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

    /**
     * The type of the associated resource. Valid values: `VSwitch`.
     * 
     */
    @Import(name="resourceType")
    private @Nullable Output resourceType;

    /**
     * @return The type of the associated resource. Valid values: `VSwitch`.
     * 
     */
    public Optional> resourceType() {
        return Optional.ofNullable(this.resourceType);
    }

    /**
     * The status of the Network Acl Attachment.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The status of the Network Acl Attachment.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private VpcNetworkAclAttachmentState() {}

    private VpcNetworkAclAttachmentState(VpcNetworkAclAttachmentState $) {
        this.networkAclId = $.networkAclId;
        this.resourceId = $.resourceId;
        this.resourceType = $.resourceType;
        this.status = $.status;
    }

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

    public static final class Builder {
        private VpcNetworkAclAttachmentState $;

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

        public Builder(VpcNetworkAclAttachmentState defaults) {
            $ = new VpcNetworkAclAttachmentState(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 resourceId The ID of the associated resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(@Nullable Output resourceId) {
            $.resourceId = resourceId;
            return this;
        }

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

        /**
         * @param resourceType The type of the associated resource. Valid values: `VSwitch`.
         * 
         * @return builder
         * 
         */
        public Builder resourceType(@Nullable Output resourceType) {
            $.resourceType = resourceType;
            return this;
        }

        /**
         * @param resourceType The type of the associated resource. Valid values: `VSwitch`.
         * 
         * @return builder
         * 
         */
        public Builder resourceType(String resourceType) {
            return resourceType(Output.of(resourceType));
        }

        /**
         * @param status The status of the Network Acl Attachment.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of the Network Acl Attachment.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public VpcNetworkAclAttachmentState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy