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

com.ovhcloud.pulumi.ovh.Hosting.inputs.PrivateDatabaseDbState Maven / Gradle / Ivy

There is a newer version: 1.1.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.ovhcloud.pulumi.ovh.Hosting.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;


public final class PrivateDatabaseDbState extends com.pulumi.resources.ResourceArgs {

    public static final PrivateDatabaseDbState Empty = new PrivateDatabaseDbState();

    /**
     * Name of your new database
     * 
     */
    @Import(name="databaseName")
    private @Nullable Output databaseName;

    /**
     * @return Name of your new database
     * 
     */
    public Optional> databaseName() {
        return Optional.ofNullable(this.databaseName);
    }

    /**
     * The internal name of your private database.
     * 
     */
    @Import(name="serviceName")
    private @Nullable Output serviceName;

    /**
     * @return The internal name of your private database.
     * 
     */
    public Optional> serviceName() {
        return Optional.ofNullable(this.serviceName);
    }

    private PrivateDatabaseDbState() {}

    private PrivateDatabaseDbState(PrivateDatabaseDbState $) {
        this.databaseName = $.databaseName;
        this.serviceName = $.serviceName;
    }

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

    public static final class Builder {
        private PrivateDatabaseDbState $;

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

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

        /**
         * @param databaseName Name of your new database
         * 
         * @return builder
         * 
         */
        public Builder databaseName(@Nullable Output databaseName) {
            $.databaseName = databaseName;
            return this;
        }

        /**
         * @param databaseName Name of your new database
         * 
         * @return builder
         * 
         */
        public Builder databaseName(String databaseName) {
            return databaseName(Output.of(databaseName));
        }

        /**
         * @param serviceName The internal name of your private database.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(@Nullable Output serviceName) {
            $.serviceName = serviceName;
            return this;
        }

        /**
         * @param serviceName The internal name of your private database.
         * 
         * @return builder
         * 
         */
        public Builder serviceName(String serviceName) {
            return serviceName(Output.of(serviceName));
        }

        public PrivateDatabaseDbState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy