public class CreateLiveSnapshotTemplateRequest extends AbstractModel
Constructor and Description |
---|
CreateLiveSnapshotTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getCosAppId()
Get COS application ID.
|
String |
getCosBucket()
Get COS bucket name.
|
String |
getCosFileName()
Get COS filename.
|
String |
getCosPrefix()
Get COS Bucket folder prefix.
|
String |
getCosRegion()
Get 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.
|
String |
getTemplateName()
Get Template name.
|
Long |
getWidth()
Get Screenshot width.
|
void |
setCosAppId(Long CosAppId)
Set COS application ID.
|
void |
setCosBucket(String CosBucket)
Set COS bucket name.
|
void |
setCosFileName(String CosFileName)
Set COS filename.
|
void |
setCosPrefix(String CosPrefix)
Set COS Bucket folder prefix.
|
void |
setCosRegion(String CosRegion)
Set 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 |
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 String getTemplateName()
public void setTemplateName(String TemplateName)
TemplateName
- Template name.
Maximum length: 255 bytes.
Only letters, digits, underscores, and hyphens can be contained.public Long getCosAppId()
public void setCosAppId(Long CosAppId)
CosAppId
- COS application ID.public String getCosBucket()
public void setCosBucket(String CosBucket)
CosBucket
- COS bucket name.
Note: the value of `CosBucket` cannot contain `-[appid]`.public String getCosRegion()
public void setCosRegion(String CosRegion)
CosRegion
- COS region.public String getDescription()
public void setDescription(String Description)
Description
- Description.
Maximum length: 1,024 bytes.
Only letters, digits, underscores, and hyphens can be contained.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. 0: no, 1: yes. Default value: 0public String getCosPrefix()
public void setCosPrefix(String CosPrefix)
CosPrefix
- COS Bucket folder prefix.
If no value is entered, the default value
`/{Year}-{Month}-{Day}`
will be used.public String getCosFileName()
public void setCosFileName(String CosFileName)
CosFileName
- COS filename.
If no value is entered, the default value
`{StreamID}-screenshot-{Hour}-{Minute}-{Second}-{Width}x{Height}{Ext}`
will be used.Copyright © 2020. All rights reserved.