Class RegisterDatabaseCatalogBodyDatabaseDetails.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.RegisterDatabaseCatalogBodyDatabaseDetails.Builder
-
- Enclosing class:
- RegisterDatabaseCatalogBodyDatabaseDetails
public static class RegisterDatabaseCatalogBodyDatabaseDetails.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegisterDatabaseCatalogBodyDatabaseDetails
build()
Builds a RegisterDatabaseCatalogBodyDatabaseDetails.RegisterDatabaseCatalogBodyDatabaseDetails.Builder
databaseName(java.lang.String databaseName)
Set the databaseName.RegisterDatabaseCatalogBodyDatabaseDetails.Builder
hostname(java.lang.String hostname)
Set the hostname.RegisterDatabaseCatalogBodyDatabaseDetails.Builder
password(java.lang.String password)
Set the password.RegisterDatabaseCatalogBodyDatabaseDetails.Builder
port(java.lang.String port)
Set the port.RegisterDatabaseCatalogBodyDatabaseDetails.Builder
ssl(java.lang.Boolean ssl)
Set the ssl.RegisterDatabaseCatalogBodyDatabaseDetails.Builder
tables(java.lang.String tables)
Set the tables.RegisterDatabaseCatalogBodyDatabaseDetails.Builder
username(java.lang.String username)
Set the username.
-
-
-
Method Detail
-
build
public RegisterDatabaseCatalogBodyDatabaseDetails build()
Builds a RegisterDatabaseCatalogBodyDatabaseDetails.- Returns:
- the new RegisterDatabaseCatalogBodyDatabaseDetails instance
-
password
public RegisterDatabaseCatalogBodyDatabaseDetails.Builder password(java.lang.String password)
Set the password.- Parameters:
password
- the password- Returns:
- the RegisterDatabaseCatalogBodyDatabaseDetails builder
-
port
public RegisterDatabaseCatalogBodyDatabaseDetails.Builder port(java.lang.String port)
Set the port.- Parameters:
port
- the port- Returns:
- the RegisterDatabaseCatalogBodyDatabaseDetails builder
-
ssl
public RegisterDatabaseCatalogBodyDatabaseDetails.Builder ssl(java.lang.Boolean ssl)
Set the ssl.- Parameters:
ssl
- the ssl- Returns:
- the RegisterDatabaseCatalogBodyDatabaseDetails builder
-
tables
public RegisterDatabaseCatalogBodyDatabaseDetails.Builder tables(java.lang.String tables)
Set the tables.- Parameters:
tables
- the tables- Returns:
- the RegisterDatabaseCatalogBodyDatabaseDetails builder
-
username
public RegisterDatabaseCatalogBodyDatabaseDetails.Builder username(java.lang.String username)
Set the username.- Parameters:
username
- the username- Returns:
- the RegisterDatabaseCatalogBodyDatabaseDetails builder
-
databaseName
public RegisterDatabaseCatalogBodyDatabaseDetails.Builder databaseName(java.lang.String databaseName)
Set the databaseName.- Parameters:
databaseName
- the databaseName- Returns:
- the RegisterDatabaseCatalogBodyDatabaseDetails builder
-
hostname
public RegisterDatabaseCatalogBodyDatabaseDetails.Builder hostname(java.lang.String hostname)
Set the hostname.- Parameters:
hostname
- the hostname- Returns:
- the RegisterDatabaseCatalogBodyDatabaseDetails builder
-
-