public class WatermarkConfigureData extends AbstractModel
header, skipSign| Constructor and Description |
|---|
WatermarkConfigureData() |
WatermarkConfigureData(WatermarkConfigureData 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 |
getHeight()
Get The height of the watermark.
|
String |
getSwitch()
Get Whether to enable watermark.
|
String |
getUrl()
Get Watermark URL.
|
String |
getWidth()
Get The width of the watermark.
|
String |
getXPos()
Get The horizontal position of the watermark origin from the video image coordinate origin.
|
String |
getYPos()
Get The vertical position of the watermark origin from the video image coordinate origin.
|
void |
setHeight(String Height)
Set The height of the watermark.
|
void |
setSwitch(String Switch)
Set Whether to enable watermark.
|
void |
setUrl(String Url)
Set Watermark URL.
|
void |
setWidth(String Width)
Set The width of the watermark.
|
void |
setXPos(String XPos)
Set The horizontal position of the watermark origin from the video image coordinate origin.
|
void |
setYPos(String YPos)
Set The vertical position of the watermark origin from the video image coordinate origin.
|
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 WatermarkConfigureData()
public WatermarkConfigureData(WatermarkConfigureData source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable watermark. Possible values:
public String getUrl()
public void setUrl(String Url)
Url - Watermark URL.public String getWidth()
public void setWidth(String Width)
Width - The width of the watermark.
public String getHeight()
public void setHeight(String Height)
Height - The height of the watermark.
public String getXPos()
public void setXPos(String XPos)
XPos - The horizontal position of the watermark origin from the video image coordinate origin. The string ends with %, indicating that the watermark XPos specifies a percentage of the video width, such as 10% indicating that XPos is 10% of the video width.public String getYPos()
public void setYPos(String YPos)
YPos - The vertical position of the watermark origin from the video image coordinate origin. When the string ends with %, it means that the watermark YPos specifies a percentage of the video height. For example, 10% means that YPos is 10% of the video height.Copyright © 2025. All rights reserved.