Class CreateDatabaseCatalogOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.CreateDatabaseCatalogOptions.Builder
-
- Enclosing class:
- CreateDatabaseCatalogOptions
public static class CreateDatabaseCatalogOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDatabaseCatalogOptions.Builder
accept(java.lang.String accept)
Set the accept.CreateDatabaseCatalogOptions.Builder
addTags(java.lang.String tags)
Adds an tags to tags.CreateDatabaseCatalogOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.CreateDatabaseCatalogOptions
build()
Builds a CreateDatabaseCatalogOptions.CreateDatabaseCatalogOptions.Builder
catalogName(java.lang.String catalogName)
Set the catalogName.CreateDatabaseCatalogOptions.Builder
createdBy(java.lang.String createdBy)
Set the createdBy.CreateDatabaseCatalogOptions.Builder
createdOn(long createdOn)
Set the createdOn.CreateDatabaseCatalogOptions.Builder
databaseDetails(RegisterDatabaseCatalogBodyDatabaseDetails databaseDetails)
Set the databaseDetails.CreateDatabaseCatalogOptions.Builder
databaseDisplayName(java.lang.String databaseDisplayName)
Set the databaseDisplayName.CreateDatabaseCatalogOptions.Builder
databaseType(java.lang.String databaseType)
Set the databaseType.CreateDatabaseCatalogOptions.Builder
description(java.lang.String description)
Set the description.CreateDatabaseCatalogOptions.Builder
tags(java.util.List<java.lang.String> tags)
Set the tags.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String databaseDisplayName, java.lang.String databaseType, java.lang.String catalogName)
Instantiates a new builder with required properties.- Parameters:
databaseDisplayName
- the databaseDisplayNamedatabaseType
- the databaseTypecatalogName
- the catalogName
-
-
Method Detail
-
build
public CreateDatabaseCatalogOptions build()
Builds a CreateDatabaseCatalogOptions.- Returns:
- the new CreateDatabaseCatalogOptions instance
-
addTags
public CreateDatabaseCatalogOptions.Builder addTags(java.lang.String tags)
Adds an tags to tags.- Parameters:
tags
- the new tags- Returns:
- the CreateDatabaseCatalogOptions builder
-
databaseDisplayName
public CreateDatabaseCatalogOptions.Builder databaseDisplayName(java.lang.String databaseDisplayName)
Set the databaseDisplayName.- Parameters:
databaseDisplayName
- the databaseDisplayName- Returns:
- the CreateDatabaseCatalogOptions builder
-
databaseType
public CreateDatabaseCatalogOptions.Builder databaseType(java.lang.String databaseType)
Set the databaseType.- Parameters:
databaseType
- the databaseType- Returns:
- the CreateDatabaseCatalogOptions builder
-
catalogName
public CreateDatabaseCatalogOptions.Builder catalogName(java.lang.String catalogName)
Set the catalogName.- Parameters:
catalogName
- the catalogName- Returns:
- the CreateDatabaseCatalogOptions builder
-
accept
public CreateDatabaseCatalogOptions.Builder accept(java.lang.String accept)
Set the accept.- Parameters:
accept
- the accept- Returns:
- the CreateDatabaseCatalogOptions builder
-
databaseDetails
public CreateDatabaseCatalogOptions.Builder databaseDetails(RegisterDatabaseCatalogBodyDatabaseDetails databaseDetails)
Set the databaseDetails.- Parameters:
databaseDetails
- the databaseDetails- Returns:
- the CreateDatabaseCatalogOptions builder
-
description
public CreateDatabaseCatalogOptions.Builder description(java.lang.String description)
Set the description.- Parameters:
description
- the description- Returns:
- the CreateDatabaseCatalogOptions builder
-
tags
public CreateDatabaseCatalogOptions.Builder tags(java.util.List<java.lang.String> tags)
Set the tags. Existing tags will be replaced.- Parameters:
tags
- the tags- Returns:
- the CreateDatabaseCatalogOptions builder
-
createdBy
public CreateDatabaseCatalogOptions.Builder createdBy(java.lang.String createdBy)
Set the createdBy.- Parameters:
createdBy
- the createdBy- Returns:
- the CreateDatabaseCatalogOptions builder
-
createdOn
public CreateDatabaseCatalogOptions.Builder createdOn(long createdOn)
Set the createdOn.- Parameters:
createdOn
- the createdOn- Returns:
- the CreateDatabaseCatalogOptions builder
-
authInstanceId
public CreateDatabaseCatalogOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the CreateDatabaseCatalogOptions builder
-
-