Class UpdateDatabaseOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.UpdateDatabaseOptions.Builder
-
- Enclosing class:
- UpdateDatabaseOptions
public static class UpdateDatabaseOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDatabaseOptions.Builder
accept(java.lang.String accept)
Set the accept.UpdateDatabaseOptions.Builder
addTags(java.lang.String tags)
Adds an tags to tags.UpdateDatabaseOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.UpdateDatabaseOptions
build()
Builds a UpdateDatabaseOptions.UpdateDatabaseOptions.Builder
databaseDetails(UpdateDatabaseBodyDatabaseDetails databaseDetails)
Set the databaseDetails.UpdateDatabaseOptions.Builder
databaseDisplayName(java.lang.String databaseDisplayName)
Set the databaseDisplayName.UpdateDatabaseOptions.Builder
databaseId(java.lang.String databaseId)
Set the databaseId.UpdateDatabaseOptions.Builder
description(java.lang.String description)
Set the description.UpdateDatabaseOptions.Builder
tags(java.util.List<java.lang.String> tags)
Set the tags.
-
-
-
Method Detail
-
build
public UpdateDatabaseOptions build()
Builds a UpdateDatabaseOptions.- Returns:
- the new UpdateDatabaseOptions instance
-
addTags
public UpdateDatabaseOptions.Builder addTags(java.lang.String tags)
Adds an tags to tags.- Parameters:
tags
- the new tags- Returns:
- the UpdateDatabaseOptions builder
-
databaseId
public UpdateDatabaseOptions.Builder databaseId(java.lang.String databaseId)
Set the databaseId.- Parameters:
databaseId
- the databaseId- Returns:
- the UpdateDatabaseOptions builder
-
accept
public UpdateDatabaseOptions.Builder accept(java.lang.String accept)
Set the accept.- Parameters:
accept
- the accept- Returns:
- the UpdateDatabaseOptions builder
-
databaseDetails
public UpdateDatabaseOptions.Builder databaseDetails(UpdateDatabaseBodyDatabaseDetails databaseDetails)
Set the databaseDetails.- Parameters:
databaseDetails
- the databaseDetails- Returns:
- the UpdateDatabaseOptions builder
-
databaseDisplayName
public UpdateDatabaseOptions.Builder databaseDisplayName(java.lang.String databaseDisplayName)
Set the databaseDisplayName.- Parameters:
databaseDisplayName
- the databaseDisplayName- Returns:
- the UpdateDatabaseOptions builder
-
description
public UpdateDatabaseOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description
- the description- Returns:
- the UpdateDatabaseOptions builder
-
tags
public UpdateDatabaseOptions.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags
- the tags- Returns:
- the UpdateDatabaseOptions builder
-
authInstanceId
public UpdateDatabaseOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the UpdateDatabaseOptions builder
-
-