Class DatabaseRegistrationPatch.Builder
- java.lang.Object
 - 
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.DatabaseRegistrationPatch.Builder
 
 
- 
- Enclosing class:
 - DatabaseRegistrationPatch
 
public static class DatabaseRegistrationPatch.Builder extends java.lang.ObjectBuilder. 
- 
- 
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder. 
- 
Method Summary
 
 - 
 
- 
- 
Method Detail
- 
build
public DatabaseRegistrationPatch build()
Builds a DatabaseRegistrationPatch.- Returns:
 - the new DatabaseRegistrationPatch instance
 
 
- 
addTables
public DatabaseRegistrationPatch.Builder addTables(DatabaseRegistrationPatchTablesItems tables)
Adds a new element to tables.- Parameters:
 tables- the new element to be added- Returns:
 - the DatabaseRegistrationPatch builder
 
 
- 
addTags
public DatabaseRegistrationPatch.Builder addTags(java.lang.String tags)
Adds a new element to tags.- Parameters:
 tags- the new element to be added- Returns:
 - the DatabaseRegistrationPatch builder
 
 
- 
addDatabaseProperties
public DatabaseRegistrationPatch.Builder addDatabaseProperties(DatabaseRegistrationPatchDatabaseDetailsDatabasePropertiesItems databaseProperties)
Adds a new element to databaseProperties.- Parameters:
 databaseProperties- the new element to be added- Returns:
 - the DatabaseRegistrationPatch builder
 
 
- 
addTopics
public DatabaseRegistrationPatch.Builder addTopics(DatabaseRegistrationPatchTopicsItems topics)
Adds a new element to topics.- Parameters:
 topics- the new element to be added- Returns:
 - the DatabaseRegistrationPatch builder
 
 
- 
databaseDetails
public DatabaseRegistrationPatch.Builder databaseDetails(DatabaseRegistrationPatchDatabaseDetails databaseDetails)
Set the databaseDetails.- Parameters:
 databaseDetails- the databaseDetails- Returns:
 - the DatabaseRegistrationPatch builder
 
 
- 
databaseDisplayName
public DatabaseRegistrationPatch.Builder databaseDisplayName(java.lang.String databaseDisplayName)
Set the databaseDisplayName.- Parameters:
 databaseDisplayName- the databaseDisplayName- Returns:
 - the DatabaseRegistrationPatch builder
 
 
- 
description
public DatabaseRegistrationPatch.Builder description(java.lang.String description)
Set the description.- Parameters:
 description- the description- Returns:
 - the DatabaseRegistrationPatch builder
 
 
- 
tables
public DatabaseRegistrationPatch.Builder tables(java.util.List<DatabaseRegistrationPatchTablesItems> tables)
Set the tables. Existing tables will be replaced.- Parameters:
 tables- the tables- Returns:
 - the DatabaseRegistrationPatch builder
 
 
- 
tags
public DatabaseRegistrationPatch.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
 tags- the tags- Returns:
 - the DatabaseRegistrationPatch builder
 
 
- 
databaseProperties
public DatabaseRegistrationPatch.Builder databaseProperties(java.util.List<DatabaseRegistrationPatchDatabaseDetailsDatabasePropertiesItems> databaseProperties)
Set the databaseProperties. Existing databaseProperties will be replaced.- Parameters:
 databaseProperties- the databaseProperties- Returns:
 - the DatabaseRegistrationPatch builder
 
 
- 
topics
public DatabaseRegistrationPatch.Builder topics(java.util.List<DatabaseRegistrationPatchTopicsItems> topics)
Set the topics. Existing topics will be replaced.- Parameters:
 topics- the topics- Returns:
 - the DatabaseRegistrationPatch builder
 
 
 - 
 
 -