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

com.pulumi.azurenative.documentdb.inputs.MongoClusterRestoreParametersArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.documentdb.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Parameters used for restore operations
 * 
 */
public final class MongoClusterRestoreParametersArgs extends com.pulumi.resources.ResourceArgs {

    public static final MongoClusterRestoreParametersArgs Empty = new MongoClusterRestoreParametersArgs();

    /**
     * UTC point in time to restore a mongo cluster
     * 
     */
    @Import(name="pointInTimeUTC")
    private @Nullable Output pointInTimeUTC;

    /**
     * @return UTC point in time to restore a mongo cluster
     * 
     */
    public Optional> pointInTimeUTC() {
        return Optional.ofNullable(this.pointInTimeUTC);
    }

    /**
     * Resource ID to locate the source cluster to restore
     * 
     */
    @Import(name="sourceResourceId")
    private @Nullable Output sourceResourceId;

    /**
     * @return Resource ID to locate the source cluster to restore
     * 
     */
    public Optional> sourceResourceId() {
        return Optional.ofNullable(this.sourceResourceId);
    }

    private MongoClusterRestoreParametersArgs() {}

    private MongoClusterRestoreParametersArgs(MongoClusterRestoreParametersArgs $) {
        this.pointInTimeUTC = $.pointInTimeUTC;
        this.sourceResourceId = $.sourceResourceId;
    }

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

    public static final class Builder {
        private MongoClusterRestoreParametersArgs $;

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

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

        /**
         * @param pointInTimeUTC UTC point in time to restore a mongo cluster
         * 
         * @return builder
         * 
         */
        public Builder pointInTimeUTC(@Nullable Output pointInTimeUTC) {
            $.pointInTimeUTC = pointInTimeUTC;
            return this;
        }

        /**
         * @param pointInTimeUTC UTC point in time to restore a mongo cluster
         * 
         * @return builder
         * 
         */
        public Builder pointInTimeUTC(String pointInTimeUTC) {
            return pointInTimeUTC(Output.of(pointInTimeUTC));
        }

        /**
         * @param sourceResourceId Resource ID to locate the source cluster to restore
         * 
         * @return builder
         * 
         */
        public Builder sourceResourceId(@Nullable Output sourceResourceId) {
            $.sourceResourceId = sourceResourceId;
            return this;
        }

        /**
         * @param sourceResourceId Resource ID to locate the source cluster to restore
         * 
         * @return builder
         * 
         */
        public Builder sourceResourceId(String sourceResourceId) {
            return sourceResourceId(Output.of(sourceResourceId));
        }

        public MongoClusterRestoreParametersArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy