public class CreateWatermarkTemplateRequest extends AbstractModel
| Constructor and Description | 
|---|
| CreateWatermarkTemplateRequest() | 
| CreateWatermarkTemplateRequest(CreateWatermarkTemplateRequest 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 | 
|---|---|
| String | getComment()Get Template description. | 
| String | getCoordinateOrigin()Get Origin position. | 
| ImageWatermarkInput | getImageTemplate()Get Image watermarking template. | 
| String | getName()Get Watermarking template name. | 
| SvgWatermarkInput | getSvgTemplate()Get SVG watermarking template. | 
| TextWatermarkTemplateInput | getTextTemplate()Get Text watermarking template. | 
| String | getType()Get Watermarking type. | 
| String | getXPos()Get The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. | 
| String | getYPos()Get The vertical position of the origin of the watermark relative to the origin of coordinates of the video. | 
| void | setComment(String Comment)Set Template description. | 
| void | setCoordinateOrigin(String CoordinateOrigin)Set Origin position. | 
| void | setImageTemplate(ImageWatermarkInput ImageTemplate)Set Image watermarking template. | 
| void | setName(String Name)Set Watermarking template name. | 
| void | setSvgTemplate(SvgWatermarkInput SvgTemplate)Set SVG watermarking template. | 
| void | setTextTemplate(TextWatermarkTemplateInput TextTemplate)Set Text watermarking template. | 
| void | setType(String Type)Set Watermarking type. | 
| void | setXPos(String XPos)Set The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. | 
| void | setYPos(String YPos)Set The vertical position of the origin of the watermark relative to the origin of coordinates of the video. | 
| 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, toJsonStringpublic CreateWatermarkTemplateRequest()
public CreateWatermarkTemplateRequest(CreateWatermarkTemplateRequest source)
public String getType()
public void setType(String Type)
Type - Watermarking type. Valid values:
public String getName()
public void setName(String Name)
Name - Watermarking template name. Length limit: 64 characters.public String getComment()
public void setComment(String Comment)
Comment - Template description. Length limit: 256 characters.public String getCoordinateOrigin()
public void setCoordinateOrigin(String CoordinateOrigin)
CoordinateOrigin - Origin position. Valid values:
public String getXPos()
public void setXPos(String XPos)
XPos - The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
public String getYPos()
public void setYPos(String YPos)
YPos - The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
public ImageWatermarkInput getImageTemplate()
public void setImageTemplate(ImageWatermarkInput ImageTemplate)
ImageTemplate - Image watermarking template. This field is required and valid only when `Type` is `image`.public TextWatermarkTemplateInput getTextTemplate()
public void setTextTemplate(TextWatermarkTemplateInput TextTemplate)
TextTemplate - Text watermarking template. This field is required and valid only when `Type` is `text`.public SvgWatermarkInput getSvgTemplate()
public void setSvgTemplate(SvgWatermarkInput SvgTemplate)
SvgTemplate - SVG watermarking template. This field is required and valid only when `Type` is `svg`.Copyright © 2022. All rights reserved.