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

com.pulumi.linode.inputs.GetVpcsArgs 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.GetVpcsFilterArgs;
import com.pulumi.linode.inputs.GetVpcsVpcArgs;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetVpcsArgs Empty = new GetVpcsArgs();

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

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

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

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

    private GetVpcsArgs() {}

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

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

    public static final class Builder {
        private GetVpcsArgs $;

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

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

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

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

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

        public GetVpcsArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy