Class DatabaseRegistrationPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.DatabaseRegistrationPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DatabaseRegistrationPatch extends com.ibm.cloud.sdk.core.service.model.GenericModelupdate db body.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatabaseRegistrationPatch.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>asPatch()Construct a JSON merge-patch from the DatabaseRegistrationPatch.DatabaseRegistrationPatchDatabaseDetailsdatabaseDetails()Gets the databaseDetails.java.lang.StringdatabaseDisplayName()Gets the databaseDisplayName.java.util.List<DatabaseRegistrationPatchDatabaseDetailsDatabasePropertiesItems>databaseProperties()Gets the databaseProperties.java.lang.Stringdescription()Gets the description.DatabaseRegistrationPatch.BuildernewBuilder()New builder.java.util.List<DatabaseRegistrationPatchTablesItems>tables()Gets the tables.java.util.List<java.lang.String>tags()Gets the tags.java.util.List<DatabaseRegistrationPatchTopicsItems>topics()Gets the topics.
-
-
-
Method Detail
-
newBuilder
public DatabaseRegistrationPatch.Builder newBuilder()
New builder.- Returns:
- a DatabaseRegistrationPatch builder
-
databaseDetails
public DatabaseRegistrationPatchDatabaseDetails databaseDetails()
Gets the databaseDetails. New database details.- Returns:
- the databaseDetails
-
databaseDisplayName
public java.lang.String databaseDisplayName()
Gets the databaseDisplayName. New database display name.- Returns:
- the databaseDisplayName
-
description
public java.lang.String description()
Gets the description. New database description.- Returns:
- the description
-
tables
public java.util.List<DatabaseRegistrationPatchTablesItems> tables()
Gets the tables. List of tables.- Returns:
- the tables
-
tags
public java.util.List<java.lang.String> tags()
Gets the tags. New tags.- Returns:
- the tags
-
databaseProperties
public java.util.List<DatabaseRegistrationPatchDatabaseDetailsDatabasePropertiesItems> databaseProperties()
Gets the databaseProperties. This will hold all the properties for a custom database.- Returns:
- the databaseProperties
-
topics
public java.util.List<DatabaseRegistrationPatchTopicsItems> topics()
Gets the topics. List of topics.- Returns:
- the topics
-
asPatch
public java.util.Map<java.lang.String,java.lang.Object> asPatch()
Construct a JSON merge-patch from the DatabaseRegistrationPatch. Note that properties of the DatabaseRegistrationPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.- Returns:
- a JSON merge-patch for the DatabaseRegistrationPatch
-
-