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

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

    public static final InternetGatewayAttachmentState Empty = new InternetGatewayAttachmentState();

    /**
     * The ID of the internet gateway.
     * 
     */
    @Import(name="internetGatewayId")
    private @Nullable Output internetGatewayId;

    /**
     * @return The ID of the internet gateway.
     * 
     */
    public Optional> internetGatewayId() {
        return Optional.ofNullable(this.internetGatewayId);
    }

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

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

    private InternetGatewayAttachmentState() {}

    private InternetGatewayAttachmentState(InternetGatewayAttachmentState $) {
        this.internetGatewayId = $.internetGatewayId;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private InternetGatewayAttachmentState $;

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

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

        /**
         * @param internetGatewayId The ID of the internet gateway.
         * 
         * @return builder
         * 
         */
        public Builder internetGatewayId(@Nullable Output internetGatewayId) {
            $.internetGatewayId = internetGatewayId;
            return this;
        }

        /**
         * @param internetGatewayId The ID of the internet gateway.
         * 
         * @return builder
         * 
         */
        public Builder internetGatewayId(String internetGatewayId) {
            return internetGatewayId(Output.of(internetGatewayId));
        }

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

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

        public InternetGatewayAttachmentState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy