com.pulumi.mongodbatlas.inputs.GetSearchDeploymentArgs 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.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetSearchDeploymentArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSearchDeploymentArgs Empty = new GetSearchDeploymentArgs();
/**
* Label that identifies the cluster to return the search nodes for.
*
*/
@Import(name="clusterName", required=true)
private Output clusterName;
/**
* @return Label that identifies the cluster to return the search nodes for.
*
*/
public Output clusterName() {
return this.clusterName;
}
/**
* Unique 24-hexadecimal digit string that identifies your project.
*
*/
@Import(name="projectId", required=true)
private Output projectId;
/**
* @return Unique 24-hexadecimal digit string that identifies your project.
*
*/
public Output projectId() {
return this.projectId;
}
private GetSearchDeploymentArgs() {}
private GetSearchDeploymentArgs(GetSearchDeploymentArgs $) {
this.clusterName = $.clusterName;
this.projectId = $.projectId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSearchDeploymentArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSearchDeploymentArgs $;
public Builder() {
$ = new GetSearchDeploymentArgs();
}
public Builder(GetSearchDeploymentArgs defaults) {
$ = new GetSearchDeploymentArgs(Objects.requireNonNull(defaults));
}
/**
* @param clusterName Label that identifies the cluster to return the search nodes for.
*
* @return builder
*
*/
public Builder clusterName(Output clusterName) {
$.clusterName = clusterName;
return this;
}
/**
* @param clusterName Label that identifies the cluster to return the search nodes for.
*
* @return builder
*
*/
public Builder clusterName(String clusterName) {
return clusterName(Output.of(clusterName));
}
/**
* @param projectId Unique 24-hexadecimal digit string that identifies your project.
*
* @return builder
*
*/
public Builder projectId(Output projectId) {
$.projectId = projectId;
return this;
}
/**
* @param projectId Unique 24-hexadecimal digit string that identifies your project.
*
* @return builder
*
*/
public Builder projectId(String projectId) {
return projectId(Output.of(projectId));
}
public GetSearchDeploymentArgs build() {
if ($.clusterName == null) {
throw new MissingRequiredPropertyException("GetSearchDeploymentArgs", "clusterName");
}
if ($.projectId == null) {
throw new MissingRequiredPropertyException("GetSearchDeploymentArgs", "projectId");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy