public class SampleSnapshotTaskInput extends AbstractModel
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 to a generated sampled screenshot, which can be a relative path or an 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 to a generated sampled screenshot, which can be a relative path or an 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public 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 to a generated sampled screenshot, which can be a relative path or an absolute path. If this parameter is left empty, the following relative path will be used by default: `{inputName}_sampleSnapshot_{definition}_{number}.{format}`.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 © 2023. All rights reserved.