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

com.pulumi.aws.ec2.inputs.GetLocalGatewayRouteTableArgs 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.aws.ec2.inputs;

import com.pulumi.aws.ec2.inputs.GetLocalGatewayRouteTableFilterArgs;
import com.pulumi.core.Output;
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 GetLocalGatewayRouteTableArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetLocalGatewayRouteTableArgs Empty = new GetLocalGatewayRouteTableArgs();

    @Import(name="filters")
    private @Nullable Output> filters;

    public Optional>> filters() {
        return Optional.ofNullable(this.filters);
    }

    /**
     * ID of the specific local gateway route table to retrieve.
     * 
     */
    @Import(name="localGatewayId")
    private @Nullable Output localGatewayId;

    /**
     * @return ID of the specific local gateway route table to retrieve.
     * 
     */
    public Optional> localGatewayId() {
        return Optional.ofNullable(this.localGatewayId);
    }

    /**
     * Local Gateway Route Table Id assigned to desired local gateway route table
     * 
     */
    @Import(name="localGatewayRouteTableId")
    private @Nullable Output localGatewayRouteTableId;

    /**
     * @return Local Gateway Route Table Id assigned to desired local gateway route table
     * 
     */
    public Optional> localGatewayRouteTableId() {
        return Optional.ofNullable(this.localGatewayRouteTableId);
    }

    /**
     * ARN of the Outpost the local gateway route table is associated with.
     * 
     */
    @Import(name="outpostArn")
    private @Nullable Output outpostArn;

    /**
     * @return ARN of the Outpost the local gateway route table is associated with.
     * 
     */
    public Optional> outpostArn() {
        return Optional.ofNullable(this.outpostArn);
    }

    /**
     * State of the local gateway route table.
     * 
     */
    @Import(name="state")
    private @Nullable Output state;

    /**
     * @return State of the local gateway route table.
     * 
     */
    public Optional> state() {
        return Optional.ofNullable(this.state);
    }

    /**
     * Mapping of tags, each pair of which must exactly match
     * a pair on the desired local gateway route table.
     * 
     * More complex filters can be expressed using one or more `filter` sub-blocks,
     * which take the following arguments:
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Mapping of tags, each pair of which must exactly match
     * a pair on the desired local gateway route table.
     * 
     * More complex filters can be expressed using one or more `filter` sub-blocks,
     * which take the following arguments:
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetLocalGatewayRouteTableArgs() {}

    private GetLocalGatewayRouteTableArgs(GetLocalGatewayRouteTableArgs $) {
        this.filters = $.filters;
        this.localGatewayId = $.localGatewayId;
        this.localGatewayRouteTableId = $.localGatewayRouteTableId;
        this.outpostArn = $.outpostArn;
        this.state = $.state;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetLocalGatewayRouteTableArgs $;

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

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

        public Builder filters(@Nullable Output> filters) {
            $.filters = filters;
            return this;
        }

        public Builder filters(List filters) {
            return filters(Output.of(filters));
        }

        public Builder filters(GetLocalGatewayRouteTableFilterArgs... filters) {
            return filters(List.of(filters));
        }

        /**
         * @param localGatewayId ID of the specific local gateway route table to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder localGatewayId(@Nullable Output localGatewayId) {
            $.localGatewayId = localGatewayId;
            return this;
        }

        /**
         * @param localGatewayId ID of the specific local gateway route table to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder localGatewayId(String localGatewayId) {
            return localGatewayId(Output.of(localGatewayId));
        }

        /**
         * @param localGatewayRouteTableId Local Gateway Route Table Id assigned to desired local gateway route table
         * 
         * @return builder
         * 
         */
        public Builder localGatewayRouteTableId(@Nullable Output localGatewayRouteTableId) {
            $.localGatewayRouteTableId = localGatewayRouteTableId;
            return this;
        }

        /**
         * @param localGatewayRouteTableId Local Gateway Route Table Id assigned to desired local gateway route table
         * 
         * @return builder
         * 
         */
        public Builder localGatewayRouteTableId(String localGatewayRouteTableId) {
            return localGatewayRouteTableId(Output.of(localGatewayRouteTableId));
        }

        /**
         * @param outpostArn ARN of the Outpost the local gateway route table is associated with.
         * 
         * @return builder
         * 
         */
        public Builder outpostArn(@Nullable Output outpostArn) {
            $.outpostArn = outpostArn;
            return this;
        }

        /**
         * @param outpostArn ARN of the Outpost the local gateway route table is associated with.
         * 
         * @return builder
         * 
         */
        public Builder outpostArn(String outpostArn) {
            return outpostArn(Output.of(outpostArn));
        }

        /**
         * @param state State of the local gateway route table.
         * 
         * @return builder
         * 
         */
        public Builder state(@Nullable Output state) {
            $.state = state;
            return this;
        }

        /**
         * @param state State of the local gateway route table.
         * 
         * @return builder
         * 
         */
        public Builder state(String state) {
            return state(Output.of(state));
        }

        /**
         * @param tags Mapping of tags, each pair of which must exactly match
         * a pair on the desired local gateway route table.
         * 
         * More complex filters can be expressed using one or more `filter` sub-blocks,
         * which take the following arguments:
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Mapping of tags, each pair of which must exactly match
         * a pair on the desired local gateway route table.
         * 
         * More complex filters can be expressed using one or more `filter` sub-blocks,
         * which take the following arguments:
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public GetLocalGatewayRouteTableArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy