public static final class DatabaseProps.Builder
extends java.lang.Object
DatabaseProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DatabaseProps |
build()
Builds the configured instance.
|
DatabaseProps.Builder |
databaseName(java.lang.String databaseName)
Sets the value of
DatabaseProps.getDatabaseName() |
DatabaseProps.Builder |
locationUri(java.lang.String locationUri)
Sets the value of
DatabaseProps.getLocationUri() |
public DatabaseProps.Builder databaseName(java.lang.String databaseName)
DatabaseProps.getDatabaseName()
databaseName
- The name of the database. This parameter is required.this
public DatabaseProps.Builder locationUri(java.lang.String locationUri)
DatabaseProps.getLocationUri()
locationUri
- The location of the database (for example, an HDFS path).this
public DatabaseProps build()
DatabaseProps
java.lang.NullPointerException
- if any required attribute was not provided