Class UplaodCsvOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.watsonxdata.watsonx_data.v1.model.UplaodCsvOptions.Builder
-
- Enclosing class:
- UplaodCsvOptions
public static class UplaodCsvOptions.Builder extends java.lang.ObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(java.lang.String engine, java.lang.String catalog, java.lang.String schema, java.lang.String tableName, java.lang.String ingestionJobName, java.lang.String scheduled, java.lang.String createdBy, java.lang.String targetTable, java.lang.String headers, java.lang.String csv)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UplaodCsvOptions.Builderaccept(java.lang.String accept)Set the accept.UplaodCsvOptions.BuilderauthInstanceId(java.lang.String authInstanceId)Set the authInstanceId.UplaodCsvOptionsbuild()Builds a UplaodCsvOptions.UplaodCsvOptions.Buildercatalog(java.lang.String catalog)Set the catalog.UplaodCsvOptions.BuildercreatedBy(java.lang.String createdBy)Set the createdBy.UplaodCsvOptions.Buildercsv(java.lang.String csv)Set the csv.UplaodCsvOptions.Builderengine(java.lang.String engine)Set the engine.UplaodCsvOptions.Builderheaders(java.lang.String headers)Set the headers.UplaodCsvOptions.BuilderingestionJobName(java.lang.String ingestionJobName)Set the ingestionJobName.UplaodCsvOptions.Builderscheduled(java.lang.String scheduled)Set the scheduled.UplaodCsvOptions.Builderschema(java.lang.String schema)Set the schema.UplaodCsvOptions.BuildertableName(java.lang.String tableName)Set the tableName.UplaodCsvOptions.BuildertargetTable(java.lang.String targetTable)Set the targetTable.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(java.lang.String engine, java.lang.String catalog, java.lang.String schema, java.lang.String tableName, java.lang.String ingestionJobName, java.lang.String scheduled, java.lang.String createdBy, java.lang.String targetTable, java.lang.String headers, java.lang.String csv)Instantiates a new builder with required properties.- Parameters:
engine- the enginecatalog- the catalogschema- the schematableName- the tableNameingestionJobName- the ingestionJobNamescheduled- the scheduledcreatedBy- the createdBytargetTable- the targetTableheaders- the headerscsv- the csv
-
-
Method Detail
-
build
public UplaodCsvOptions build()
Builds a UplaodCsvOptions.- Returns:
- the new UplaodCsvOptions instance
-
engine
public UplaodCsvOptions.Builder engine(java.lang.String engine)
Set the engine.- Parameters:
engine- the engine- Returns:
- the UplaodCsvOptions builder
-
catalog
public UplaodCsvOptions.Builder catalog(java.lang.String catalog)
Set the catalog.- Parameters:
catalog- the catalog- Returns:
- the UplaodCsvOptions builder
-
schema
public UplaodCsvOptions.Builder schema(java.lang.String schema)
Set the schema.- Parameters:
schema- the schema- Returns:
- the UplaodCsvOptions builder
-
tableName
public UplaodCsvOptions.Builder tableName(java.lang.String tableName)
Set the tableName.- Parameters:
tableName- the tableName- Returns:
- the UplaodCsvOptions builder
-
ingestionJobName
public UplaodCsvOptions.Builder ingestionJobName(java.lang.String ingestionJobName)
Set the ingestionJobName.- Parameters:
ingestionJobName- the ingestionJobName- Returns:
- the UplaodCsvOptions builder
-
scheduled
public UplaodCsvOptions.Builder scheduled(java.lang.String scheduled)
Set the scheduled.- Parameters:
scheduled- the scheduled- Returns:
- the UplaodCsvOptions builder
-
createdBy
public UplaodCsvOptions.Builder createdBy(java.lang.String createdBy)
Set the createdBy.- Parameters:
createdBy- the createdBy- Returns:
- the UplaodCsvOptions builder
-
targetTable
public UplaodCsvOptions.Builder targetTable(java.lang.String targetTable)
Set the targetTable.- Parameters:
targetTable- the targetTable- Returns:
- the UplaodCsvOptions builder
-
headers
public UplaodCsvOptions.Builder headers(java.lang.String headers)
Set the headers.- Parameters:
headers- the headers- Returns:
- the UplaodCsvOptions builder
-
csv
public UplaodCsvOptions.Builder csv(java.lang.String csv)
Set the csv.- Parameters:
csv- the csv- Returns:
- the UplaodCsvOptions builder
-
accept
public UplaodCsvOptions.Builder accept(java.lang.String accept)
Set the accept.- Parameters:
accept- the accept- Returns:
- the UplaodCsvOptions builder
-
authInstanceId
public UplaodCsvOptions.Builder authInstanceId(java.lang.String authInstanceId)
Set the authInstanceId.- Parameters:
authInstanceId- the authInstanceId- Returns:
- the UplaodCsvOptions builder
-
-