Class WaterPrintConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.antiddos.v20200309.models.WaterPrintConfig
-
public class WaterPrintConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description WaterPrintConfig()WaterPrintConfig(WaterPrintConfig 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCloudSdkProxy()Get 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验 注意:此字段可能返回 null,表示取不到有效值。WaterPrintKey[]getKeys()Get 水印添加成功后生成的水印密钥列表,一条水印最少1个密钥,最多2个密钥ForwardListener[]getListeners()Get 水印所属的转发监听器列表LonggetOffset()Get 水印偏移量,取值范围[0, 100)LonggetOpenStatus()Get 是否开启,取值[ 0(手动开启) 1(立即运行) ]StringgetVerify()Get 水印检查模式, 取值[ checkall(普通模式) shortfpcheckall(精简模式) ]voidsetCloudSdkProxy(Long CloudSdkProxy)Set 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验 注意:此字段可能返回 null,表示取不到有效值。voidsetKeys(WaterPrintKey[] Keys)Set 水印添加成功后生成的水印密钥列表,一条水印最少1个密钥,最多2个密钥voidsetListeners(ForwardListener[] Listeners)Set 水印所属的转发监听器列表voidsetOffset(Long Offset)Set 水印偏移量,取值范围[0, 100)voidsetOpenStatus(Long OpenStatus)Set 是否开启,取值[ 0(手动开启) 1(立即运行) ]voidsetVerify(String Verify)Set 水印检查模式, 取值[ checkall(普通模式) shortfpcheckall(精简模式) ]voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
WaterPrintConfig
public WaterPrintConfig()
-
WaterPrintConfig
public WaterPrintConfig(WaterPrintConfig 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.
-
-
Method Detail
-
getOffset
public Long getOffset()
Get 水印偏移量,取值范围[0, 100)- Returns:
- Offset 水印偏移量,取值范围[0, 100)
-
setOffset
public void setOffset(Long Offset)
Set 水印偏移量,取值范围[0, 100)- Parameters:
Offset- 水印偏移量,取值范围[0, 100)
-
getOpenStatus
public Long getOpenStatus()
Get 是否开启,取值[ 0(手动开启) 1(立即运行) ]- Returns:
- OpenStatus 是否开启,取值[ 0(手动开启) 1(立即运行) ]
-
setOpenStatus
public void setOpenStatus(Long OpenStatus)
Set 是否开启,取值[ 0(手动开启) 1(立即运行) ]- Parameters:
OpenStatus- 是否开启,取值[ 0(手动开启) 1(立即运行) ]
-
getListeners
public ForwardListener[] getListeners()
Get 水印所属的转发监听器列表- Returns:
- Listeners 水印所属的转发监听器列表
-
setListeners
public void setListeners(ForwardListener[] Listeners)
Set 水印所属的转发监听器列表- Parameters:
Listeners- 水印所属的转发监听器列表
-
getKeys
public WaterPrintKey[] getKeys()
Get 水印添加成功后生成的水印密钥列表,一条水印最少1个密钥,最多2个密钥- Returns:
- Keys 水印添加成功后生成的水印密钥列表,一条水印最少1个密钥,最多2个密钥
-
setKeys
public void setKeys(WaterPrintKey[] Keys)
Set 水印添加成功后生成的水印密钥列表,一条水印最少1个密钥,最多2个密钥- Parameters:
Keys- 水印添加成功后生成的水印密钥列表,一条水印最少1个密钥,最多2个密钥
-
getVerify
public String getVerify()
Get 水印检查模式, 取值[ checkall(普通模式) shortfpcheckall(精简模式) ]- Returns:
- Verify 水印检查模式, 取值[ checkall(普通模式) shortfpcheckall(精简模式) ]
-
setVerify
public void setVerify(String Verify)
Set 水印检查模式, 取值[ checkall(普通模式) shortfpcheckall(精简模式) ]- Parameters:
Verify- 水印检查模式, 取值[ checkall(普通模式) shortfpcheckall(精简模式) ]
-
getCloudSdkProxy
public Long getCloudSdkProxy()
Get 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CloudSdkProxy 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验 注意:此字段可能返回 null,表示取不到有效值。
-
setCloudSdkProxy
public void setCloudSdkProxy(Long CloudSdkProxy)
Set 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CloudSdkProxy- 是否开启代理,1开启则忽略IP+端口校验;0关闭则需要IP+端口校验 注意:此字段可能返回 null,表示取不到有效值。
-
-