Class CreateSchemaOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.CreateSchemaOptions.Builder
-
- Enclosing class:
- CreateSchemaOptions
public static class CreateSchemaOptions.Builder extends java.lang.Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSchemaOptions.Builder
authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.CreateSchemaOptions.Builder
bucketName(java.lang.String bucketName)
Set the bucketName.CreateSchemaOptions
build()
Builds a CreateSchemaOptions.CreateSchemaOptions.Builder
catalogId(java.lang.String catalogId)
Set the catalogId.CreateSchemaOptions.Builder
customPath(java.lang.String customPath)
Set the customPath.CreateSchemaOptions.Builder
engineId(java.lang.String engineId)
Set the engineId.CreateSchemaOptions.Builder
hostname(java.lang.String hostname)
Set the hostname.CreateSchemaOptions.Builder
port(long port)
Set the port.CreateSchemaOptions.Builder
schemaName(java.lang.String schemaName)
Set the schemaName.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String engineId, java.lang.String catalogId, java.lang.String customPath, java.lang.String schemaName)
Instantiates a new builder with required properties.- Parameters:
engineId
- the engineIdcatalogId
- the catalogIdcustomPath
- the customPathschemaName
- the schemaName
-
-
Method Detail
-
build
public CreateSchemaOptions build()
Builds a CreateSchemaOptions.- Returns:
- the new CreateSchemaOptions instance
-
engineId
public CreateSchemaOptions.Builder engineId(java.lang.String engineId)
Set the engineId.- Parameters:
engineId
- the engineId- Returns:
- the CreateSchemaOptions builder
-
catalogId
public CreateSchemaOptions.Builder catalogId(java.lang.String catalogId)
Set the catalogId.- Parameters:
catalogId
- the catalogId- Returns:
- the CreateSchemaOptions builder
-
customPath
public CreateSchemaOptions.Builder customPath(java.lang.String customPath)
Set the customPath.- Parameters:
customPath
- the customPath- Returns:
- the CreateSchemaOptions builder
-
schemaName
public CreateSchemaOptions.Builder schemaName(java.lang.String schemaName)
Set the schemaName.- Parameters:
schemaName
- the schemaName- Returns:
- the CreateSchemaOptions builder
-
bucketName
public CreateSchemaOptions.Builder bucketName(java.lang.String bucketName)
Set the bucketName.- Parameters:
bucketName
- the bucketName- Returns:
- the CreateSchemaOptions builder
-
hostname
public CreateSchemaOptions.Builder hostname(java.lang.String hostname)
Set the hostname.- Parameters:
hostname
- the hostname- Returns:
- the CreateSchemaOptions builder
-
port
public CreateSchemaOptions.Builder port(long port)
Set the port.- Parameters:
port
- the port- Returns:
- the CreateSchemaOptions builder
-
authInstanceId
public CreateSchemaOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId
- the authInstanceId- Returns:
- the CreateSchemaOptions builder
-
-