public class CreateDataTransformRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateDataTransformRequest() | 
| CreateDataTransformRequest(CreateDataTransformRequest 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 | 
|---|---|
| Long | getDataTransformType()Get 数据加工类型。0:标准加工任务; 1:前置加工任务。前置加工任务将采集的日志处理完成后,再写入日志主题。 | 
| DataTransformResouceInfo[] | getDstResources()Get 加工任务目标topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写。
目标topic_id,通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
别名限制 1.不能为空字符串,2. | 
| Long | getEnableFlag()Get 任务启动状态. | 
| String | getEtlContent()Get 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f) 
其他参考文档:
- [创建加工任务](https://cloud.tencent.com/document/product/614/63940) 
-  [函数总览](https://cloud.tencent.com/document/product/614/70395) | 
| Long | getFuncType()Get 任务类型. | 
| String | getName()Get 加工任务名称
名称限制
- 不能为空字符串
- 不能包含字符'|'
- 最长 255 个字符 | 
| PreviewLogStatistic[] | getPreviewLogStatistics()Get 用于预览加工结果的测试数据
目标日志主题ID通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。 | 
| String | getSrcTopicId()Get 日志主题ID
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。 | 
| Long | getTaskType()Get 加工类型。
1:使用源日志主题中的随机数据,进行加工预览;2:使用用户自定义测试数据,进行加工预览;3:创建真实加工任务。 | 
| void | setDataTransformType(Long DataTransformType)Set 数据加工类型。0:标准加工任务; 1:前置加工任务。前置加工任务将采集的日志处理完成后,再写入日志主题。 | 
| void | setDstResources(DataTransformResouceInfo[] DstResources)Set 加工任务目标topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写。
目标topic_id,通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
别名限制 1.不能为空字符串,2. | 
| void | setEnableFlag(Long EnableFlag)Set 任务启动状态. | 
| void | setEtlContent(String EtlContent)Set 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f) 
其他参考文档:
- [创建加工任务](https://cloud.tencent.com/document/product/614/63940) 
-  [函数总览](https://cloud.tencent.com/document/product/614/70395) | 
| void | setFuncType(Long FuncType)Set 任务类型. | 
| void | setName(String Name)Set 加工任务名称
名称限制
- 不能为空字符串
- 不能包含字符'|'
- 最长 255 个字符 | 
| void | setPreviewLogStatistics(PreviewLogStatistic[] PreviewLogStatistics)Set 用于预览加工结果的测试数据
目标日志主题ID通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。 | 
| void | setSrcTopicId(String SrcTopicId)Set 日志主题ID
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。 | 
| void | setTaskType(Long TaskType)Set 加工类型。
1:使用源日志主题中的随机数据,进行加工预览;2:使用用户自定义测试数据,进行加工预览;3:创建真实加工任务。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateDataTransformRequest()
public CreateDataTransformRequest(CreateDataTransformRequest source)
public Long getFuncType()
public void setFuncType(Long FuncType)
FuncType - 任务类型. 1: 指定主题;2:动态创建。详情请参考[创建加工任务文档](https://cloud.tencent.com/document/product/614/63940)。public String getSrcTopicId()
public void setSrcTopicId(String SrcTopicId)
SrcTopicId - 日志主题ID
- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。public String getName()
public void setName(String Name)
Name - 加工任务名称
名称限制
- 不能为空字符串
- 不能包含字符'|'
- 最长 255 个字符public String getEtlContent()
public void setEtlContent(String EtlContent)
EtlContent - 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f) 
其他参考文档:
- [创建加工任务](https://cloud.tencent.com/document/product/614/63940) 
-  [函数总览](https://cloud.tencent.com/document/product/614/70395)public Long getTaskType()
public void setTaskType(Long TaskType)
TaskType - 加工类型。
1:使用源日志主题中的随机数据,进行加工预览;2:使用用户自定义测试数据,进行加工预览;3:创建真实加工任务。public DataTransformResouceInfo[] getDstResources()
public void setDstResources(DataTransformResouceInfo[] DstResources)
DstResources - 加工任务目标topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写。
目标topic_id,通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
别名限制 1.不能为空字符串,2. 不能包含字符'|'。public Long getEnableFlag()
public void setEnableFlag(Long EnableFlag)
EnableFlag - 任务启动状态.   默认为1:开启,  2:关闭public PreviewLogStatistic[] getPreviewLogStatistics()
public void setPreviewLogStatistics(PreviewLogStatistic[] PreviewLogStatistics)
PreviewLogStatistics - 用于预览加工结果的测试数据
目标日志主题ID通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。public Long getDataTransformType()
public void setDataTransformType(Long DataTransformType)
DataTransformType - 数据加工类型。0:标准加工任务; 1:前置加工任务。前置加工任务将采集的日志处理完成后,再写入日志主题。Copyright © 2025. All rights reserved.