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

com.pulumi.consul.inputs.GetNodesPlainArgs Maven / Gradle / Ivy

There is a newer version: 3.13.0-alpha.1727221178
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.consul.inputs;

import com.pulumi.consul.inputs.GetNodesQueryOption;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetNodesPlainArgs Empty = new GetNodesPlainArgs();

    /**
     * See below.
     * 
     */
    @Import(name="queryOptions")
    private @Nullable List queryOptions;

    /**
     * @return See below.
     * 
     */
    public Optional> queryOptions() {
        return Optional.ofNullable(this.queryOptions);
    }

    private GetNodesPlainArgs() {}

    private GetNodesPlainArgs(GetNodesPlainArgs $) {
        this.queryOptions = $.queryOptions;
    }

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

    public static final class Builder {
        private GetNodesPlainArgs $;

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

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

        /**
         * @param queryOptions See below.
         * 
         * @return builder
         * 
         */
        public Builder queryOptions(@Nullable List queryOptions) {
            $.queryOptions = queryOptions;
            return this;
        }

        /**
         * @param queryOptions See below.
         * 
         * @return builder
         * 
         */
        public Builder queryOptions(GetNodesQueryOption... queryOptions) {
            return queryOptions(List.of(queryOptions));
        }

        public GetNodesPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy