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

com.pulumi.aws.ec2.inputs.GetCoipPoolArgs 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.GetCoipPoolFilterArgs;
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 GetCoipPoolArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCoipPoolArgs Empty = new GetCoipPoolArgs();

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

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

    /**
     * Local Gateway Route Table Id assigned to desired COIP Pool
     * 
     */
    @Import(name="localGatewayRouteTableId")
    private @Nullable Output localGatewayRouteTableId;

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

    /**
     * ID of the specific COIP Pool to retrieve.
     * 
     */
    @Import(name="poolId")
    private @Nullable Output poolId;

    /**
     * @return ID of the specific COIP Pool to retrieve.
     * 
     */
    public Optional> poolId() {
        return Optional.ofNullable(this.poolId);
    }

    /**
     * Mapping of tags, each pair of which must exactly match
     * a pair on the desired COIP Pool.
     * 
     * 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 COIP Pool.
     * 
     * 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 GetCoipPoolArgs() {}

    private GetCoipPoolArgs(GetCoipPoolArgs $) {
        this.filters = $.filters;
        this.localGatewayRouteTableId = $.localGatewayRouteTableId;
        this.poolId = $.poolId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetCoipPoolArgs $;

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

        public Builder(GetCoipPoolArgs defaults) {
            $ = new GetCoipPoolArgs(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(GetCoipPoolFilterArgs... filters) {
            return filters(List.of(filters));
        }

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

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

        /**
         * @param poolId ID of the specific COIP Pool to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder poolId(@Nullable Output poolId) {
            $.poolId = poolId;
            return this;
        }

        /**
         * @param poolId ID of the specific COIP Pool to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder poolId(String poolId) {
            return poolId(Output.of(poolId));
        }

        /**
         * @param tags Mapping of tags, each pair of which must exactly match
         * a pair on the desired COIP Pool.
         * 
         * 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 COIP Pool.
         * 
         * 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 GetCoipPoolArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy