public class CreateUploadFileJobRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
fileName
The name of the attachment file.
|
String |
fileSource
The purpose of the attachment file.
|
Long |
tid
The ID of the tenant.
|
String |
uploadURL
The URL of the attachment file.
|
| 构造器和说明 |
|---|
CreateUploadFileJobRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateUploadFileJobRequest |
build(Map<String,?> map) |
String |
getFileName() |
String |
getFileSource() |
Long |
getTid() |
String |
getUploadURL() |
CreateUploadFileJobRequest |
setFileName(String fileName) |
CreateUploadFileJobRequest |
setFileSource(String fileSource) |
CreateUploadFileJobRequest |
setTid(Long tid) |
CreateUploadFileJobRequest |
setUploadURL(String uploadURL) |
@NameInMap(value="FileName") public String fileName
The name of the attachment file.
The file name must end with .txt or .sql. For example, the file name can be test.txt or test.sql.
This parameter is required.
example:test.txt
@NameInMap(value="FileSource") public String fileSource
The purpose of the attachment file. Valid values:
This parameter is required.
example:datacorrect
@NameInMap(value="Tid") public Long tid
The ID of the tenant.
example:You can call the GetUserActiveTenant operation to query the tenant ID.
3***
@NameInMap(value="UploadURL") public String uploadURL
The URL of the attachment file. The URL must be an HTTP URL or an HTTPS URL.
You can upload the attachment file to an Object Storage Service (OSS) bucket and obtain the URL of the file in the OSS console. For more information, see Share objects.
This parameter is required.
example:public static CreateUploadFileJobRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateUploadFileJobRequest setFileName(String fileName)
public String getFileName()
public CreateUploadFileJobRequest setFileSource(String fileSource)
public String getFileSource()
public CreateUploadFileJobRequest setTid(Long tid)
public Long getTid()
public CreateUploadFileJobRequest setUploadURL(String uploadURL)
public String getUploadURL()
Copyright © 2025. All rights reserved.