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

com.pulumi.mongodbatlas.inputs.GetOnlineArchivesPlainArgs 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetOnlineArchivesPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetOnlineArchivesPlainArgs Empty = new GetOnlineArchivesPlainArgs();

    /**
     * Name of the cluster that contains the collection.
     * 
     * # Attributes Reference
     * 
     * In addition to all arguments above, the following attributes are exported:
     * 
     */
    @Import(name="clusterName", required=true)
    private String clusterName;

    /**
     * @return Name of the cluster that contains the collection.
     * 
     * # Attributes Reference
     * 
     * In addition to all arguments above, the following attributes are exported:
     * 
     */
    public String clusterName() {
        return this.clusterName;
    }

    /**
     * The unique ID for the project.
     * 
     */
    @Import(name="projectId", required=true)
    private String projectId;

    /**
     * @return The unique ID for the project.
     * 
     */
    public String projectId() {
        return this.projectId;
    }

    private GetOnlineArchivesPlainArgs() {}

    private GetOnlineArchivesPlainArgs(GetOnlineArchivesPlainArgs $) {
        this.clusterName = $.clusterName;
        this.projectId = $.projectId;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GetOnlineArchivesPlainArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GetOnlineArchivesPlainArgs $;

        public Builder() {
            $ = new GetOnlineArchivesPlainArgs();
        }

        public Builder(GetOnlineArchivesPlainArgs defaults) {
            $ = new GetOnlineArchivesPlainArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param clusterName Name of the cluster that contains the collection.
         * 
         * # Attributes Reference
         * 
         * In addition to all arguments above, the following attributes are exported:
         * 
         * @return builder
         * 
         */
        public Builder clusterName(String clusterName) {
            $.clusterName = clusterName;
            return this;
        }

        /**
         * @param projectId The unique ID for the project.
         * 
         * @return builder
         * 
         */
        public Builder projectId(String projectId) {
            $.projectId = projectId;
            return this;
        }

        public GetOnlineArchivesPlainArgs build() {
            if ($.clusterName == null) {
                throw new MissingRequiredPropertyException("GetOnlineArchivesPlainArgs", "clusterName");
            }
            if ($.projectId == null) {
                throw new MissingRequiredPropertyException("GetOnlineArchivesPlainArgs", "projectId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy