com.pulumi.mongodbatlas.inputs.GetProjectPlainArgs Maven / Gradle / Ivy
// *** 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.mongodbatlas.inputs;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetProjectPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetProjectPlainArgs Empty = new GetProjectPlainArgs();
/**
* The unique ID for the project.
*
* > **IMPORTANT:** Either `project_id` or `name` must be configurated.
*
*/
@Import(name="name")
private @Nullable String name;
/**
* @return The unique ID for the project.
*
* > **IMPORTANT:** Either `project_id` or `name` must be configurated.
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* The unique ID for the project.
*
*/
@Import(name="projectId")
private @Nullable String projectId;
/**
* @return The unique ID for the project.
*
*/
public Optional projectId() {
return Optional.ofNullable(this.projectId);
}
private GetProjectPlainArgs() {}
private GetProjectPlainArgs(GetProjectPlainArgs $) {
this.name = $.name;
this.projectId = $.projectId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetProjectPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetProjectPlainArgs $;
public Builder() {
$ = new GetProjectPlainArgs();
}
public Builder(GetProjectPlainArgs defaults) {
$ = new GetProjectPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param name The unique ID for the project.
*
* > **IMPORTANT:** Either `project_id` or `name` must be configurated.
*
* @return builder
*
*/
public Builder name(@Nullable String name) {
$.name = name;
return this;
}
/**
* @param projectId The unique ID for the project.
*
* @return builder
*
*/
public Builder projectId(@Nullable String projectId) {
$.projectId = projectId;
return this;
}
public GetProjectPlainArgs build() {
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy