public class CreateTaskRequest extends AbstractModel
Constructor and Description |
---|
CreateTaskRequest() |
CreateTaskRequest(CreateTaskRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getDatabaseName()
Get Database name.
|
String |
getDataEngineName()
Get Data engine name.
|
String |
getDatasourceConnectionName()
Get Name of the default data source
|
Task |
getTask()
Get Computing task.
|
void |
setDatabaseName(String DatabaseName)
Set Database name.
|
void |
setDataEngineName(String DataEngineName)
Set Data engine name.
|
void |
setDatasourceConnectionName(String DatasourceConnectionName)
Set Name of the default data source
|
void |
setTask(Task Task)
Set Computing task.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateTaskRequest()
public CreateTaskRequest(CreateTaskRequest source)
public Task getTask()
public void setTask(Task Task)
Task
- Computing task. This parameter contains the task type and related configuration information.public String getDatabaseName()
public void setDatabaseName(String DatabaseName)
DatabaseName
- Database name. If there is a database name in the SQL statement, the database in the SQL statement will be used first; otherwise, the database specified by this parameter will be used (note: when submitting the database creation SQL statement, passed in an empty string for this field).public String getDatasourceConnectionName()
public void setDatasourceConnectionName(String DatasourceConnectionName)
DatasourceConnectionName
- Name of the default data sourcepublic String getDataEngineName()
public void setDataEngineName(String DataEngineName)
DataEngineName
- Data engine name. If this parameter is not specified, the task will be submitted to the default engine.Copyright © 2023. All rights reserved.