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

com.pulumi.azurenative.documentdb.inputs.GremlinDatabaseRestoreResourceArgs 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.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Specific Gremlin Databases to restore.
 * 
 */
public final class GremlinDatabaseRestoreResourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final GremlinDatabaseRestoreResourceArgs Empty = new GremlinDatabaseRestoreResourceArgs();

    /**
     * The name of the gremlin database available for restore.
     * 
     */
    @Import(name="databaseName")
    private @Nullable Output databaseName;

    /**
     * @return The name of the gremlin database available for restore.
     * 
     */
    public Optional> databaseName() {
        return Optional.ofNullable(this.databaseName);
    }

    /**
     * The names of the graphs available for restore.
     * 
     */
    @Import(name="graphNames")
    private @Nullable Output> graphNames;

    /**
     * @return The names of the graphs available for restore.
     * 
     */
    public Optional>> graphNames() {
        return Optional.ofNullable(this.graphNames);
    }

    private GremlinDatabaseRestoreResourceArgs() {}

    private GremlinDatabaseRestoreResourceArgs(GremlinDatabaseRestoreResourceArgs $) {
        this.databaseName = $.databaseName;
        this.graphNames = $.graphNames;
    }

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

    public static final class Builder {
        private GremlinDatabaseRestoreResourceArgs $;

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

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

        /**
         * @param databaseName The name of the gremlin database available for restore.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(@Nullable Output databaseName) {
            $.databaseName = databaseName;
            return this;
        }

        /**
         * @param databaseName The name of the gremlin database available for restore.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(String databaseName) {
            return databaseName(Output.of(databaseName));
        }

        /**
         * @param graphNames The names of the graphs available for restore.
         * 
         * @return builder
         * 
         */
        public Builder graphNames(@Nullable Output> graphNames) {
            $.graphNames = graphNames;
            return this;
        }

        /**
         * @param graphNames The names of the graphs available for restore.
         * 
         * @return builder
         * 
         */
        public Builder graphNames(List graphNames) {
            return graphNames(Output.of(graphNames));
        }

        /**
         * @param graphNames The names of the graphs available for restore.
         * 
         * @return builder
         * 
         */
        public Builder graphNames(String... graphNames) {
            return graphNames(List.of(graphNames));
        }

        public GremlinDatabaseRestoreResourceArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy