sdk/java/src/main/java/com/pulumi/ovh/Hosting/inputs/GetPrivateDatabaseUserArgs.java
<gh_stars>0// *** 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.ovh.Hosting.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;


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

    public static final GetPrivateDatabaseUserArgs Empty = new GetPrivateDatabaseUserArgs();

    /**
     * The internal name of your private database
     * 
     */
    @Import(name="serviceName", required=true)
    private Output<String> serviceName;

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

    /**
     * User name
     * 
     */
    @Import(name="userName", required=true)
    private Output<String> userName;

    /**
     * @return User name
     * 
     */
    public Output<String> userName() {
        return this.userName;
    }

    private GetPrivateDatabaseUserArgs() {}

    private GetPrivateDatabaseUserArgs(GetPrivateDatabaseUserArgs $) {
        this.serviceName = $.serviceName;
        this.userName = $.userName;
    }

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

    public static final class Builder {
        private GetPrivateDatabaseUserArgs $;

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

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

        /**
         * @param serviceName The internal name of your private database
         * 
         * @return builder
         * 
         */
        public Builder serviceName(Output<String> 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));
        }

        /**
         * @param userName User name
         * 
         * @return builder
         * 
         */
        public Builder userName(Output<String> userName) {
            $.userName = userName;
            return this;
        }

        /**
         * @param userName User name
         * 
         * @return builder
         * 
         */
        public Builder userName(String userName) {
            return userName(Output.of(userName));
        }

        public GetPrivateDatabaseUserArgs build() {
            $.serviceName = Objects.requireNonNull($.serviceName, "expected parameter 'serviceName' to be non-null");
            $.userName = Objects.requireNonNull($.userName, "expected parameter 'userName' to be non-null");
            return $;
        }
    }

}
