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

com.pulumi.aws.ec2.VpcEndpointRouteTableAssociationArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

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.aws.ec2;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class VpcEndpointRouteTableAssociationArgs extends com.pulumi.resources.ResourceArgs {

    public static final VpcEndpointRouteTableAssociationArgs Empty = new VpcEndpointRouteTableAssociationArgs();

    /**
     * Identifier of the EC2 Route Table to be associated with the VPC Endpoint.
     * 
     */
    @Import(name="routeTableId", required=true)
    private Output routeTableId;

    /**
     * @return Identifier of the EC2 Route Table to be associated with the VPC Endpoint.
     * 
     */
    public Output routeTableId() {
        return this.routeTableId;
    }

    /**
     * Identifier of the VPC Endpoint with which the EC2 Route Table will be associated.
     * 
     */
    @Import(name="vpcEndpointId", required=true)
    private Output vpcEndpointId;

    /**
     * @return Identifier of the VPC Endpoint with which the EC2 Route Table will be associated.
     * 
     */
    public Output vpcEndpointId() {
        return this.vpcEndpointId;
    }

    private VpcEndpointRouteTableAssociationArgs() {}

    private VpcEndpointRouteTableAssociationArgs(VpcEndpointRouteTableAssociationArgs $) {
        this.routeTableId = $.routeTableId;
        this.vpcEndpointId = $.vpcEndpointId;
    }

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

    public static final class Builder {
        private VpcEndpointRouteTableAssociationArgs $;

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

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

        /**
         * @param routeTableId Identifier of the EC2 Route Table to be associated with the VPC Endpoint.
         * 
         * @return builder
         * 
         */
        public Builder routeTableId(Output routeTableId) {
            $.routeTableId = routeTableId;
            return this;
        }

        /**
         * @param routeTableId Identifier of the EC2 Route Table to be associated with the VPC Endpoint.
         * 
         * @return builder
         * 
         */
        public Builder routeTableId(String routeTableId) {
            return routeTableId(Output.of(routeTableId));
        }

        /**
         * @param vpcEndpointId Identifier of the VPC Endpoint with which the EC2 Route Table will be associated.
         * 
         * @return builder
         * 
         */
        public Builder vpcEndpointId(Output vpcEndpointId) {
            $.vpcEndpointId = vpcEndpointId;
            return this;
        }

        /**
         * @param vpcEndpointId Identifier of the VPC Endpoint with which the EC2 Route Table will be associated.
         * 
         * @return builder
         * 
         */
        public Builder vpcEndpointId(String vpcEndpointId) {
            return vpcEndpointId(Output.of(vpcEndpointId));
        }

        public VpcEndpointRouteTableAssociationArgs build() {
            if ($.routeTableId == null) {
                throw new MissingRequiredPropertyException("VpcEndpointRouteTableAssociationArgs", "routeTableId");
            }
            if ($.vpcEndpointId == null) {
                throw new MissingRequiredPropertyException("VpcEndpointRouteTableAssociationArgs", "vpcEndpointId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy