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

com.pulumi.aws.ec2.inputs.GetRouteTablePlainArgs 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.60.0-alpha.1731982519
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.aws.ec2.inputs.GetRouteTableFilter;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetRouteTablePlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetRouteTablePlainArgs Empty = new GetRouteTablePlainArgs();

    /**
     * Configuration block. Detailed below.
     * 
     */
    @Import(name="filters")
    private @Nullable List filters;

    /**
     * @return Configuration block. Detailed below.
     * 
     */
    public Optional> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * ID of an Internet Gateway or Virtual Private Gateway which is connected to the Route Table (not exported if not passed as a parameter).
     * 
     */
    @Import(name="gatewayId")
    private @Nullable String gatewayId;

    /**
     * @return ID of an Internet Gateway or Virtual Private Gateway which is connected to the Route Table (not exported if not passed as a parameter).
     * 
     */
    public Optional gatewayId() {
        return Optional.ofNullable(this.gatewayId);
    }

    /**
     * ID of the specific Route Table to retrieve.
     * 
     */
    @Import(name="routeTableId")
    private @Nullable String routeTableId;

    /**
     * @return ID of the specific Route Table to retrieve.
     * 
     */
    public Optional routeTableId() {
        return Optional.ofNullable(this.routeTableId);
    }

    /**
     * ID of a Subnet which is connected to the Route Table (not exported if not passed as a parameter).
     * 
     */
    @Import(name="subnetId")
    private @Nullable String subnetId;

    /**
     * @return ID of a Subnet which is connected to the Route Table (not exported if not passed as a parameter).
     * 
     */
    public Optional subnetId() {
        return Optional.ofNullable(this.subnetId);
    }

    /**
     * Map of tags, each pair of which must exactly match a pair on the desired Route Table.
     * 
     */
    @Import(name="tags")
    private @Nullable Map tags;

    /**
     * @return Map of tags, each pair of which must exactly match a pair on the desired Route Table.
     * 
     */
    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * ID of the VPC that the desired Route Table belongs to.
     * 
     */
    @Import(name="vpcId")
    private @Nullable String vpcId;

    /**
     * @return ID of the VPC that the desired Route Table belongs to.
     * 
     */
    public Optional vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

    private GetRouteTablePlainArgs() {}

    private GetRouteTablePlainArgs(GetRouteTablePlainArgs $) {
        this.filters = $.filters;
        this.gatewayId = $.gatewayId;
        this.routeTableId = $.routeTableId;
        this.subnetId = $.subnetId;
        this.tags = $.tags;
        this.vpcId = $.vpcId;
    }

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

    public static final class Builder {
        private GetRouteTablePlainArgs $;

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

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

        /**
         * @param filters Configuration block. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(@Nullable List filters) {
            $.filters = filters;
            return this;
        }

        /**
         * @param filters Configuration block. Detailed below.
         * 
         * @return builder
         * 
         */
        public Builder filters(GetRouteTableFilter... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param gatewayId ID of an Internet Gateway or Virtual Private Gateway which is connected to the Route Table (not exported if not passed as a parameter).
         * 
         * @return builder
         * 
         */
        public Builder gatewayId(@Nullable String gatewayId) {
            $.gatewayId = gatewayId;
            return this;
        }

        /**
         * @param routeTableId ID of the specific Route Table to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder routeTableId(@Nullable String routeTableId) {
            $.routeTableId = routeTableId;
            return this;
        }

        /**
         * @param subnetId ID of a Subnet which is connected to the Route Table (not exported if not passed as a parameter).
         * 
         * @return builder
         * 
         */
        public Builder subnetId(@Nullable String subnetId) {
            $.subnetId = subnetId;
            return this;
        }

        /**
         * @param tags Map of tags, each pair of which must exactly match a pair on the desired Route Table.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param vpcId ID of the VPC that the desired Route Table belongs to.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(@Nullable String vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        public GetRouteTablePlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy