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

com.pulumi.linode.inputs.GetVpcsPlainArgs 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.annotations.Import;
import com.pulumi.linode.inputs.GetVpcsFilter;
import com.pulumi.linode.inputs.GetVpcsVpc;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetVpcsPlainArgs Empty = new GetVpcsPlainArgs();

    @Import(name="filters")
    private @Nullable List filters;

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

    @Import(name="vpcs")
    private @Nullable List vpcs;

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

    private GetVpcsPlainArgs() {}

    private GetVpcsPlainArgs(GetVpcsPlainArgs $) {
        this.filters = $.filters;
        this.vpcs = $.vpcs;
    }

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

    public static final class Builder {
        private GetVpcsPlainArgs $;

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

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

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

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

        public Builder vpcs(@Nullable List vpcs) {
            $.vpcs = vpcs;
            return this;
        }

        public Builder vpcs(GetVpcsVpc... vpcs) {
            return vpcs(List.of(vpcs));
        }

        public GetVpcsPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy