public class ModifyLiveSnapshotTemplateRequest extends AbstractModel
Constructor and Description |
---|
ModifyLiveSnapshotTemplateRequest() |
ModifyLiveSnapshotTemplateRequest(ModifyLiveSnapshotTemplateRequest 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 |
getCosAppId()
Get The COS application ID.
|
String |
getCosBucket()
Get The COS bucket name.
|
String |
getCosFileName()
Get COS filename.
|
String |
getCosPrefix()
Get COS bucket folder prefix.
|
String |
getCosRegion()
Get The COS region.
|
String |
getDescription()
Get Description.
|
Long |
getHeight()
Get Screenshot height.
|
Long |
getPornFlag()
Get Whether to enable porn detection.
|
Long |
getSnapshotInterval()
Get Screencapturing interval in seconds.
|
Long |
getTemplateId()
Get Template ID.
|
String |
getTemplateName()
Get Template name.
|
Long |
getWidth()
Get Screenshot width.
|
void |
setCosAppId(Long CosAppId)
Set The COS application ID.
|
void |
setCosBucket(String CosBucket)
Set The COS bucket name.
|
void |
setCosFileName(String CosFileName)
Set COS filename.
|
void |
setCosPrefix(String CosPrefix)
Set COS bucket folder prefix.
|
void |
setCosRegion(String CosRegion)
Set The COS region.
|
void |
setDescription(String Description)
Set Description.
|
void |
setHeight(Long Height)
Set Screenshot height.
|
void |
setPornFlag(Long PornFlag)
Set Whether to enable porn detection.
|
void |
setSnapshotInterval(Long SnapshotInterval)
Set Screencapturing interval in seconds.
|
void |
setTemplateId(Long TemplateId)
Set Template ID.
|
void |
setTemplateName(String TemplateName)
Set Template name.
|
void |
setWidth(Long Width)
Set Screenshot width.
|
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 ModifyLiveSnapshotTemplateRequest()
public ModifyLiveSnapshotTemplateRequest(ModifyLiveSnapshotTemplateRequest source)
public Long getTemplateId()
public void setTemplateId(Long TemplateId)
TemplateId
- Template ID.public Long getCosAppId()
public void setCosAppId(Long CosAppId)
CosAppId
- The COS application ID.
Please note that this parameter is required now**.public String getCosBucket()
public void setCosBucket(String CosBucket)
CosBucket
- The COS bucket name.
Note: Do not include the `-[appid]` part in the value of `CosBucket`.
Please note that this parameter is required now**.public String getCosRegion()
public void setCosRegion(String CosRegion)
CosRegion
- The COS region.
Please note that this parameter is required now**.public String getTemplateName()
public void setTemplateName(String TemplateName)
TemplateName
- Template name.
Maximum length: 255 bytes.public String getDescription()
public void setDescription(String Description)
Description
- Description.
Maximum length: 1,024 bytes.public Long getSnapshotInterval()
public void setSnapshotInterval(Long SnapshotInterval)
SnapshotInterval
- Screencapturing interval in seconds. Default value: 10s.
Value range: 5-300s.public Long getWidth()
public void setWidth(Long Width)
Width
- Screenshot width. Default value: 0 (original width).public Long getHeight()
public void setHeight(Long Height)
Height
- Screenshot height. Default value: 0 (original height).public Long getPornFlag()
public void setPornFlag(Long PornFlag)
PornFlag
- Whether to enable porn detection. Default value: 0.
0: do not enable.
1: enable.public String getCosPrefix()
public void setCosPrefix(String CosPrefix)
CosPrefix
- COS bucket folder prefix.public String getCosFileName()
public void setCosFileName(String CosFileName)
CosFileName
- COS filename.Copyright © 2023. All rights reserved.