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

com.pulumi.mongodbatlas.inputs.GetCloudBackupSnapshotRestoreJobPlainArgs 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 GetCloudBackupSnapshotRestoreJobPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetCloudBackupSnapshotRestoreJobPlainArgs Empty = new GetCloudBackupSnapshotRestoreJobPlainArgs();

    /**
     * The name of the Atlas cluster for which you want to retrieve the restore job.
     * 
     */
    @Import(name="clusterName", required=true)
    private String clusterName;

    /**
     * @return The name of the Atlas cluster for which you want to retrieve the restore job.
     * 
     */
    public String clusterName() {
        return this.clusterName;
    }

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

    /**
     * @return The unique identifier of the project for the Atlas cluster.
     * 
     */
    public String projectId() {
        return this.projectId;
    }

    /**
     * The unique identifier of the restore job to retrieve.
     * 
     */
    @Import(name="snapshotRestoreJobId", required=true)
    private String snapshotRestoreJobId;

    /**
     * @return The unique identifier of the restore job to retrieve.
     * 
     */
    public String snapshotRestoreJobId() {
        return this.snapshotRestoreJobId;
    }

    private GetCloudBackupSnapshotRestoreJobPlainArgs() {}

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

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

    public static final class Builder {
        private GetCloudBackupSnapshotRestoreJobPlainArgs $;

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

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

        /**
         * @param clusterName The name of the Atlas cluster for which you want to retrieve the restore job.
         * 
         * @return builder
         * 
         */
        public Builder clusterName(String clusterName) {
            $.clusterName = clusterName;
            return this;
        }

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

        /**
         * @param snapshotRestoreJobId The unique identifier of the restore job to retrieve.
         * 
         * @return builder
         * 
         */
        public Builder snapshotRestoreJobId(String snapshotRestoreJobId) {
            $.snapshotRestoreJobId = snapshotRestoreJobId;
            return this;
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy