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

com.pulumi.alicloud.dds.outputs.GetMongoInstancesInstanceMongo Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.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;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy