public class CreateUploadOSSFileJobRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CreateUploadOSSFileJobRequest.CreateUploadOSSFileJobRequestUploadTarget |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
fileName
The name of the file.
|
String |
fileSource
The purpose of the file upload task.
|
Long |
tid
The ID of the tenant.
|
CreateUploadOSSFileJobRequest.CreateUploadOSSFileJobRequestUploadTarget |
uploadTarget
The information about the OSS file to be uploaded.
|
| 构造器和说明 |
|---|
CreateUploadOSSFileJobRequest() |
@NameInMap(value="FileName") public String fileName
The name of the file.
The file name must end with .txt or .sql. For example, the file name can be text.txt.
This parameter is required.
example:test.sql
@NameInMap(value="FileSource") public String fileSource
The purpose of the file upload task. Valid values:
This parameter is required.
example:datacorrect
@NameInMap(value="Tid") public Long tid
The ID of the tenant.
example:To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the Manage DMS tenants topic.
-1
@NameInMap(value="UploadTarget") public CreateUploadOSSFileJobRequest.CreateUploadOSSFileJobRequestUploadTarget uploadTarget
The information about the OSS file to be uploaded.
This parameter is required.
public static CreateUploadOSSFileJobRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateUploadOSSFileJobRequest setFileName(String fileName)
public String getFileName()
public CreateUploadOSSFileJobRequest setFileSource(String fileSource)
public String getFileSource()
public CreateUploadOSSFileJobRequest setTid(Long tid)
public Long getTid()
public CreateUploadOSSFileJobRequest setUploadTarget(CreateUploadOSSFileJobRequest.CreateUploadOSSFileJobRequestUploadTarget uploadTarget)
public CreateUploadOSSFileJobRequest.CreateUploadOSSFileJobRequestUploadTarget getUploadTarget()
Copyright © 2025. All rights reserved.