public class SampleSnapshotTaskInput extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SampleSnapshotTaskInput() | 
| SampleSnapshotTaskInput(SampleSnapshotTaskInput 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 | getDefinition()Get Sampled screencapturing template ID. | 
| NumberFormat | getObjectNumberFormat()Get Rule of the `{number}` variable in the sampled screenshot output path. | 
| String | getOutputObjectPath()Get Output path of an image file after sampled screenshot taking, which can be a relative or absolute path. | 
| TaskOutputStorage | getOutputStorage()Get Target bucket of a sampled screenshot. | 
| WatermarkInput[] | getWatermarkSet()Get List of up to 10 image or text watermarks. | 
| void | setDefinition(Long Definition)Set Sampled screencapturing template ID. | 
| void | setObjectNumberFormat(NumberFormat ObjectNumberFormat)Set Rule of the `{number}` variable in the sampled screenshot output path. | 
| void | setOutputObjectPath(String OutputObjectPath)Set Output path of an image file after sampled screenshot taking, which can be a relative or absolute path. | 
| void | setOutputStorage(TaskOutputStorage OutputStorage)Set Target bucket of a sampled screenshot. | 
| void | setWatermarkSet(WatermarkInput[] WatermarkSet)Set List of up to 10 image or text watermarks. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic SampleSnapshotTaskInput()
public SampleSnapshotTaskInput(SampleSnapshotTaskInput source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition - Sampled screencapturing template ID.public WatermarkInput[] getWatermarkSet()
public void setWatermarkSet(WatermarkInput[] WatermarkSet)
WatermarkSet - List of up to 10 image or text watermarks.
Note: This field may return null, indicating that no valid values can be obtained.public TaskOutputStorage getOutputStorage()
public void setOutputStorage(TaskOutputStorage OutputStorage)
OutputStorage - Target bucket of a sampled screenshot. If this parameter is left empty, the `OutputStorage` value of the upper folder will be inherited.
Note: This field may return null, indicating that no valid values can be obtained.public String getOutputObjectPath()
public void setOutputObjectPath(String OutputObjectPath)
OutputObjectPath - Output path of an image file after sampled screenshot taking, which can be a relative or absolute path.
If you need to define an output path, the path must end with `.{format}`. For variable names, refer to [Filename Variable](https://intl.cloud.tencent.com/document/product/862/37039?from_cn_redirect=1).Relative path example:
public NumberFormat getObjectNumberFormat()
public void setObjectNumberFormat(NumberFormat ObjectNumberFormat)
ObjectNumberFormat - Rule of the `{number}` variable in the sampled screenshot output path.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.