com.pulumi.azure.hdinsight.outputs.HBaseClusterMetastoresOozie Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.hdinsight.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class HBaseClusterMetastoresOozie {
/**
* @return The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
*
*/
private String databaseName;
/**
* @return The external Oozie metastore's existing SQL server admin password. Changing this forces a new resource to be created.
*
*/
private String password;
/**
* @return The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
*
*/
private String server;
/**
* @return The external Oozie metastore's existing SQL server admin username. Changing this forces a new resource to be created.
*
*/
private String username;
private HBaseClusterMetastoresOozie() {}
/**
* @return The external Oozie metastore's existing SQL database. Changing this forces a new resource to be created.
*
*/
public String databaseName() {
return this.databaseName;
}
/**
* @return The external Oozie metastore's existing SQL server admin password. Changing this forces a new resource to be created.
*
*/
public String password() {
return this.password;
}
/**
* @return The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.
*
*/
public String server() {
return this.server;
}
/**
* @return The external Oozie metastore's existing SQL server admin username. Changing this forces a new resource to be created.
*
*/
public String username() {
return this.username;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(HBaseClusterMetastoresOozie defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String databaseName;
private String password;
private String server;
private String username;
public Builder() {}
public Builder(HBaseClusterMetastoresOozie defaults) {
Objects.requireNonNull(defaults);
this.databaseName = defaults.databaseName;
this.password = defaults.password;
this.server = defaults.server;
this.username = defaults.username;
}
@CustomType.Setter
public Builder databaseName(String databaseName) {
if (databaseName == null) {
throw new MissingRequiredPropertyException("HBaseClusterMetastoresOozie", "databaseName");
}
this.databaseName = databaseName;
return this;
}
@CustomType.Setter
public Builder password(String password) {
if (password == null) {
throw new MissingRequiredPropertyException("HBaseClusterMetastoresOozie", "password");
}
this.password = password;
return this;
}
@CustomType.Setter
public Builder server(String server) {
if (server == null) {
throw new MissingRequiredPropertyException("HBaseClusterMetastoresOozie", "server");
}
this.server = server;
return this;
}
@CustomType.Setter
public Builder username(String username) {
if (username == null) {
throw new MissingRequiredPropertyException("HBaseClusterMetastoresOozie", "username");
}
this.username = username;
return this;
}
public HBaseClusterMetastoresOozie build() {
final var _resultValue = new HBaseClusterMetastoresOozie();
_resultValue.databaseName = databaseName;
_resultValue.password = password;
_resultValue.server = server;
_resultValue.username = username;
return _resultValue;
}
}
}