com.pulumi.consul.inputs.GetNodesPlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of consul Show documentation
Show all versions of consul Show documentation
A Pulumi package for creating and managing consul resources.
// *** 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 $;
}
}
}