Class CreateSchemaOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v3.model.CreateSchemaOptions.Builder
-
- Enclosing class:
- CreateSchemaOptions
public static class CreateSchemaOptions.Builder extends java.lang.ObjectBuilder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSchemaOptions.BuilderauthInstanceId(java.lang.String authInstanceId)Set the authInstanceId.CreateSchemaOptionsbuild()Builds a CreateSchemaOptions.CreateSchemaOptions.BuildercustomPath(java.lang.String customPath)Set the customPath.CreateSchemaOptions.BuilderengineId(java.lang.String engineId)Set the engineId.CreateSchemaOptions.Builderhostname(java.lang.String hostname)Set the hostname.CreateSchemaOptions.Builderid(java.lang.String id)Set the id.CreateSchemaOptions.Buildername(java.lang.String name)Set the name.CreateSchemaOptions.Builderport(long port)Set the port.CreateSchemaOptions.BuilderschemaPrototype(SchemaPrototype schemaPrototype)Set the schemaPrototype.CreateSchemaOptions.BuilderstorageName(java.lang.String storageName)Set the storageName.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String engineId, java.lang.String id, java.lang.String customPath, java.lang.String name)Instantiates a new builder with required properties.- Parameters:
engineId- the engineIdid- the idcustomPath- the customPathname- the name
-
-
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
-
id
public CreateSchemaOptions.Builder id(java.lang.String id)
Set the id.- Parameters:
id- the id- Returns:
- the CreateSchemaOptions builder
-
customPath
public CreateSchemaOptions.Builder customPath(java.lang.String customPath)
Set the customPath.- Parameters:
customPath- the customPath- Returns:
- the CreateSchemaOptions builder
-
name
public CreateSchemaOptions.Builder name(java.lang.String name)
Set the name.- Parameters:
name- the name- 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
-
storageName
public CreateSchemaOptions.Builder storageName(java.lang.String storageName)
Set the storageName.- Parameters:
storageName- the storageName- Returns:
- the CreateSchemaOptions builder
-
authInstanceId
public CreateSchemaOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId- the authInstanceId- Returns:
- the CreateSchemaOptions builder
-
schemaPrototype
public CreateSchemaOptions.Builder schemaPrototype(SchemaPrototype schemaPrototype)
Set the schemaPrototype.- Parameters:
schemaPrototype- the schemaPrototype- Returns:
- the CreateSchemaOptions builder
-
-