com.ovhcloud.pulumi.ovh.Hosting.inputs.GetPrivateDatabaseDbArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH resources.
// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetPrivateDatabaseDbArgs extends com.pulumi.resources.InvokeArgs {
public static final GetPrivateDatabaseDbArgs Empty = new GetPrivateDatabaseDbArgs();
/**
* Database name
*
*/
@Import(name="databaseName", required=true)
private Output databaseName;
/**
* @return Database name
*
*/
public Output databaseName() {
return this.databaseName;
}
/**
* The internal name of your private database
*
*/
@Import(name="serviceName", required=true)
private Output serviceName;
/**
* @return The internal name of your private database
*
*/
public Output serviceName() {
return this.serviceName;
}
private GetPrivateDatabaseDbArgs() {}
private GetPrivateDatabaseDbArgs(GetPrivateDatabaseDbArgs $) {
this.databaseName = $.databaseName;
this.serviceName = $.serviceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPrivateDatabaseDbArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetPrivateDatabaseDbArgs $;
public Builder() {
$ = new GetPrivateDatabaseDbArgs();
}
public Builder(GetPrivateDatabaseDbArgs defaults) {
$ = new GetPrivateDatabaseDbArgs(Objects.requireNonNull(defaults));
}
/**
* @param databaseName Database name
*
* @return builder
*
*/
public Builder databaseName(Output databaseName) {
$.databaseName = databaseName;
return this;
}
/**
* @param databaseName Database name
*
* @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(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 GetPrivateDatabaseDbArgs build() {
if ($.databaseName == null) {
throw new MissingRequiredPropertyException("GetPrivateDatabaseDbArgs", "databaseName");
}
if ($.serviceName == null) {
throw new MissingRequiredPropertyException("GetPrivateDatabaseDbArgs", "serviceName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy