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

com.pulumi.linode.inputs.GetVpcIpsArgs Maven / Gradle / Ivy

There is a newer version: 4.31.0-alpha.1732773076
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.linode.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.linode.inputs.GetVpcIpsFilterArgs;
import com.pulumi.linode.inputs.GetVpcIpsVpcIpArgs;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetVpcIpsArgs Empty = new GetVpcIpsArgs();

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

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

    /**
     * The id of the parent VPC for the list of VPC IPs.
     * 
     * * `filter` - (Optional) A set of filters used to select Linode VPC IPs that meet certain requirements.
     * 
     */
    @Import(name="vpcId")
    private @Nullable Output vpcId;

    /**
     * @return The id of the parent VPC for the list of VPC IPs.
     * 
     * * `filter` - (Optional) A set of filters used to select Linode VPC IPs that meet certain requirements.
     * 
     */
    public Optional> vpcId() {
        return Optional.ofNullable(this.vpcId);
    }

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

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

    private GetVpcIpsArgs() {}

    private GetVpcIpsArgs(GetVpcIpsArgs $) {
        this.filters = $.filters;
        this.vpcId = $.vpcId;
        this.vpcIps = $.vpcIps;
    }

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

    public static final class Builder {
        private GetVpcIpsArgs $;

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

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

        /**
         * @param vpcId The id of the parent VPC for the list of VPC IPs.
         * 
         * * `filter` - (Optional) A set of filters used to select Linode VPC IPs that meet certain requirements.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(@Nullable Output vpcId) {
            $.vpcId = vpcId;
            return this;
        }

        /**
         * @param vpcId The id of the parent VPC for the list of VPC IPs.
         * 
         * * `filter` - (Optional) A set of filters used to select Linode VPC IPs that meet certain requirements.
         * 
         * @return builder
         * 
         */
        public Builder vpcId(Integer vpcId) {
            return vpcId(Output.of(vpcId));
        }

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

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

        public Builder vpcIps(GetVpcIpsVpcIpArgs... vpcIps) {
            return vpcIps(List.of(vpcIps));
        }

        public GetVpcIpsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy