Class UpdateTableOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.UpdateTableOptions.Builder
-
- Enclosing class:
- UpdateTableOptions
public static class UpdateTableOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTableOptions.Builder
accept(java.lang.String accept)
Set the accept.UpdateTableOptions.Builder
addAddColumns(UpdateTableBodyAddColumnsItems addColumns)
Adds an addColumns to addColumns.UpdateTableOptions.Builder
addColumns(java.util.List<UpdateTableBodyAddColumnsItems> addColumns)
Set the addColumns.UpdateTableOptions.Builder
addDropColumns(UpdateTableBodyDropColumnsItems dropColumns)
Adds an dropColumns to dropColumns.UpdateTableOptions.Builder
addRenameColumns(UpdateTableBodyRenameColumnsItems renameColumns)
Adds an renameColumns to renameColumns.UpdateTableOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.UpdateTableOptions
build()
Builds a UpdateTableOptions.UpdateTableOptions.Builder
catalogName(java.lang.String catalogName)
Set the catalogName.UpdateTableOptions.Builder
dropColumns(java.util.List<UpdateTableBodyDropColumnsItems> dropColumns)
Set the dropColumns.UpdateTableOptions.Builder
engineId(java.lang.String engineId)
Set the engineId.UpdateTableOptions.Builder
newTableName(java.lang.String newTableName)
Set the newTableName.UpdateTableOptions.Builder
renameColumns(java.util.List<UpdateTableBodyRenameColumnsItems> renameColumns)
Set the renameColumns.UpdateTableOptions.Builder
schemaName(java.lang.String schemaName)
Set the schemaName.UpdateTableOptions.Builder
tableName(java.lang.String tableName)
Set the tableName.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String engineId, java.lang.String catalogName, java.lang.String schemaName, java.lang.String tableName)
Instantiates a new builder with required properties.- Parameters:
engineId
- the engineIdcatalogName
- the catalogNameschemaName
- the schemaNametableName
- the tableName
-
-
Method Detail
-
build
public UpdateTableOptions build()
Builds a UpdateTableOptions.- Returns:
- the new UpdateTableOptions instance
-
addAddColumns
public UpdateTableOptions.Builder addAddColumns(UpdateTableBodyAddColumnsItems addColumns)
Adds an addColumns to addColumns.- Parameters:
addColumns
- the new addColumns- Returns:
- the UpdateTableOptions builder
-
addDropColumns
public UpdateTableOptions.Builder addDropColumns(UpdateTableBodyDropColumnsItems dropColumns)
Adds an dropColumns to dropColumns.- Parameters:
dropColumns
- the new dropColumns- Returns:
- the UpdateTableOptions builder
-
addRenameColumns
public UpdateTableOptions.Builder addRenameColumns(UpdateTableBodyRenameColumnsItems renameColumns)
Adds an renameColumns to renameColumns.- Parameters:
renameColumns
- the new renameColumns- Returns:
- the UpdateTableOptions builder
-
engineId
public UpdateTableOptions.Builder engineId(java.lang.String engineId)
Set the engineId.- Parameters:
engineId
- the engineId- Returns:
- the UpdateTableOptions builder
-
catalogName
public UpdateTableOptions.Builder catalogName(java.lang.String catalogName)
Set the catalogName.- Parameters:
catalogName
- the catalogName- Returns:
- the UpdateTableOptions builder
-
schemaName
public UpdateTableOptions.Builder schemaName(java.lang.String schemaName)
Set the schemaName.- Parameters:
schemaName
- the schemaName- Returns:
- the UpdateTableOptions builder
-
tableName
public UpdateTableOptions.Builder tableName(java.lang.String tableName)
Set the tableName.- Parameters:
tableName
- the tableName- Returns:
- the UpdateTableOptions builder
-
accept
public UpdateTableOptions.Builder accept(java.lang.String accept)
Set the accept.- Parameters:
accept
- the accept- Returns:
- the UpdateTableOptions builder
-
addColumns
public UpdateTableOptions.Builder addColumns(java.util.List<UpdateTableBodyAddColumnsItems> addColumns)
Set the addColumns. Existing addColumns will be replaced.- Parameters:
addColumns
- the addColumns- Returns:
- the UpdateTableOptions builder
-
dropColumns
public UpdateTableOptions.Builder dropColumns(java.util.List<UpdateTableBodyDropColumnsItems> dropColumns)
Set the dropColumns. Existing dropColumns will be replaced.- Parameters:
dropColumns
- the dropColumns- Returns:
- the UpdateTableOptions builder
-
newTableName
public UpdateTableOptions.Builder newTableName(java.lang.String newTableName)
Set the newTableName.- Parameters:
newTableName
- the newTableName- Returns:
- the UpdateTableOptions builder
-
renameColumns
public UpdateTableOptions.Builder renameColumns(java.util.List<UpdateTableBodyRenameColumnsItems> renameColumns)
Set the renameColumns. Existing renameColumns will be replaced.- Parameters:
renameColumns
- the renameColumns- Returns:
- the UpdateTableOptions builder
-
authInstanceId
public UpdateTableOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the UpdateTableOptions builder
-
-