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

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

// *** 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 awsEc2RouteTable
 * 
 */
public final class AwsEc2RouteTablePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AwsEc2RouteTablePropertiesArgs Empty = new AwsEc2RouteTablePropertiesArgs();

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

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

    /**
     * Any tags assigned to the route table.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Any tags assigned to the route table.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * 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 AwsEc2RouteTablePropertiesArgs() {}

    private AwsEc2RouteTablePropertiesArgs(AwsEc2RouteTablePropertiesArgs $) {
        this.routeTableId = $.routeTableId;
        this.tags = $.tags;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private AwsEc2RouteTablePropertiesArgs $;

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

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

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

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

        /**
         * @param tags Any tags assigned to the route table.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Any tags assigned to the route table.
         * 
         * @return builder
         * 
         */
        public Builder tags(List tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param tags Any tags assigned to the route table.
         * 
         * @return builder
         * 
         */
        public Builder tags(TagArgs... tags) {
            return tags(List.of(tags));
        }

        /**
         * @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 AwsEc2RouteTablePropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy