com.pulumi.alicloud.dds.outputs.GetMongoInstancesInstanceMongo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.dds.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetMongoInstancesInstanceMongo {
private String class_;
private String description;
private String nodeId;
private GetMongoInstancesInstanceMongo() {}
public String class_() {
return this.class_;
}
public String description() {
return this.description;
}
public String nodeId() {
return this.nodeId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetMongoInstancesInstanceMongo defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String class_;
private String description;
private String nodeId;
public Builder() {}
public Builder(GetMongoInstancesInstanceMongo defaults) {
Objects.requireNonNull(defaults);
this.class_ = defaults.class_;
this.description = defaults.description;
this.nodeId = defaults.nodeId;
}
@CustomType.Setter("class")
public Builder class_(String class_) {
if (class_ == null) {
throw new MissingRequiredPropertyException("GetMongoInstancesInstanceMongo", "class_");
}
this.class_ = class_;
return this;
}
@CustomType.Setter
public Builder description(String description) {
if (description == null) {
throw new MissingRequiredPropertyException("GetMongoInstancesInstanceMongo", "description");
}
this.description = description;
return this;
}
@CustomType.Setter
public Builder nodeId(String nodeId) {
if (nodeId == null) {
throw new MissingRequiredPropertyException("GetMongoInstancesInstanceMongo", "nodeId");
}
this.nodeId = nodeId;
return this;
}
public GetMongoInstancesInstanceMongo build() {
final var _resultValue = new GetMongoInstancesInstanceMongo();
_resultValue.class_ = class_;
_resultValue.description = description;
_resultValue.nodeId = nodeId;
return _resultValue;
}
}
}