public class ModifyWatermarkTemplateRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyWatermarkTemplateRequest() |
ModifyWatermarkTemplateRequest(ModifyWatermarkTemplateRequest 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.
|
Long |
getDefinition()
Get Unique ID of a watermarking template.
|
ImageWatermarkInputForUpdate |
getImageTemplate()
Get Image watermarking template.
|
String |
getName()
Get Watermarking template name.
|
SvgWatermarkInputForUpdate |
getSvgTemplate()
Get SVG watermarking template.
|
TextWatermarkTemplateInputForUpdate |
getTextTemplate()
Get Text watermarking template.
|
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 |
setDefinition(Long Definition)
Set Unique ID of a watermarking template.
|
void |
setImageTemplate(ImageWatermarkInputForUpdate ImageTemplate)
Set Image watermarking template.
|
void |
setName(String Name)
Set Watermarking template name.
|
void |
setSvgTemplate(SvgWatermarkInputForUpdate SvgTemplate)
Set SVG watermarking template.
|
void |
setTextTemplate(TextWatermarkTemplateInputForUpdate TextTemplate)
Set Text watermarking template.
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyWatermarkTemplateRequest()
public ModifyWatermarkTemplateRequest(ModifyWatermarkTemplateRequest source)
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Unique ID of a watermarking template.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 ImageWatermarkInputForUpdate getImageTemplate()
public void setImageTemplate(ImageWatermarkInputForUpdate ImageTemplate)
ImageTemplate
- Image watermarking template. This field is valid only for image watermarking templates.public TextWatermarkTemplateInputForUpdate getTextTemplate()
public void setTextTemplate(TextWatermarkTemplateInputForUpdate TextTemplate)
TextTemplate
- Text watermarking template. This field is valid only for text watermarking templates.public SvgWatermarkInputForUpdate getSvgTemplate()
public void setSvgTemplate(SvgWatermarkInputForUpdate SvgTemplate)
SvgTemplate
- SVG watermarking template. This field is required when `Type` is `svg` and is invalid when `Type` is `image` or `text`.Copyright © 2024. All rights reserved.