Class AlgDetectSession
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.AlgDetectSession
-
public class AlgDetectSession extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AlgDetectSession()AlgDetectSession(AlgDetectSession 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 AlgDetectResult[]getAlgDetectResults()Get Cookie校验校验结果。StringgetDetectMode()Get 校验方式,默认update_detect,取值有: detect:仅校验; update_detect:更新Cookie并校验。LonggetInvalidStatTime()Get 校验结果为未携带Cookie或Cookie已过期的统计周期。单位为秒,默认10,取值:5~3600。LonggetInvalidThreshold()Get 校验结果为未携带Cookie或Cookie已过期的触发阈值。单位为次,默认300,取值:1~100000000。StringgetName()Get 操作名称。StringgetSessionAnalyzeSwitch()Get 会话速率和周期特征校验开关,默认off,取值有: off:关闭; on:打开。AlgDetectResult[]getSessionBehaviors()Get 会话速率和周期特征校验结果。voidsetAlgDetectResults(AlgDetectResult[] AlgDetectResults)Set Cookie校验校验结果。voidsetDetectMode(String DetectMode)Set 校验方式,默认update_detect,取值有: detect:仅校验; update_detect:更新Cookie并校验。voidsetInvalidStatTime(Long InvalidStatTime)Set 校验结果为未携带Cookie或Cookie已过期的统计周期。单位为秒,默认10,取值:5~3600。voidsetInvalidThreshold(Long InvalidThreshold)Set 校验结果为未携带Cookie或Cookie已过期的触发阈值。单位为次,默认300,取值:1~100000000。voidsetName(String Name)Set 操作名称。voidsetSessionAnalyzeSwitch(String SessionAnalyzeSwitch)Set 会话速率和周期特征校验开关,默认off,取值有: off:关闭; on:打开。voidsetSessionBehaviors(AlgDetectResult[] SessionBehaviors)Set 会话速率和周期特征校验结果。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
-
AlgDetectSession
public AlgDetectSession()
-
AlgDetectSession
public AlgDetectSession(AlgDetectSession 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
-
getName
public String getName()
Get 操作名称。- Returns:
- Name 操作名称。
-
setName
public void setName(String Name)
Set 操作名称。- Parameters:
Name- 操作名称。
-
getDetectMode
public String getDetectMode()
Get 校验方式,默认update_detect,取值有:- detect:仅校验;
- update_detect:更新Cookie并校验。
- Returns:
- DetectMode 校验方式,默认update_detect,取值有:
- detect:仅校验;
- update_detect:更新Cookie并校验。
-
setDetectMode
public void setDetectMode(String DetectMode)
Set 校验方式,默认update_detect,取值有:- detect:仅校验;
- update_detect:更新Cookie并校验。
- Parameters:
DetectMode- 校验方式,默认update_detect,取值有:- detect:仅校验;
- update_detect:更新Cookie并校验。
-
getSessionAnalyzeSwitch
public String getSessionAnalyzeSwitch()
Get 会话速率和周期特征校验开关,默认off,取值有:- off:关闭;
- on:打开。
- Returns:
- SessionAnalyzeSwitch 会话速率和周期特征校验开关,默认off,取值有:
- off:关闭;
- on:打开。
-
setSessionAnalyzeSwitch
public void setSessionAnalyzeSwitch(String SessionAnalyzeSwitch)
Set 会话速率和周期特征校验开关,默认off,取值有:- off:关闭;
- on:打开。
- Parameters:
SessionAnalyzeSwitch- 会话速率和周期特征校验开关,默认off,取值有:- off:关闭;
- on:打开。
-
getInvalidStatTime
public Long getInvalidStatTime()
Get 校验结果为未携带Cookie或Cookie已过期的统计周期。单位为秒,默认10,取值:5~3600。- Returns:
- InvalidStatTime 校验结果为未携带Cookie或Cookie已过期的统计周期。单位为秒,默认10,取值:5~3600。
-
setInvalidStatTime
public void setInvalidStatTime(Long InvalidStatTime)
Set 校验结果为未携带Cookie或Cookie已过期的统计周期。单位为秒,默认10,取值:5~3600。- Parameters:
InvalidStatTime- 校验结果为未携带Cookie或Cookie已过期的统计周期。单位为秒,默认10,取值:5~3600。
-
getInvalidThreshold
public Long getInvalidThreshold()
Get 校验结果为未携带Cookie或Cookie已过期的触发阈值。单位为次,默认300,取值:1~100000000。- Returns:
- InvalidThreshold 校验结果为未携带Cookie或Cookie已过期的触发阈值。单位为次,默认300,取值:1~100000000。
-
setInvalidThreshold
public void setInvalidThreshold(Long InvalidThreshold)
Set 校验结果为未携带Cookie或Cookie已过期的触发阈值。单位为次,默认300,取值:1~100000000。- Parameters:
InvalidThreshold- 校验结果为未携带Cookie或Cookie已过期的触发阈值。单位为次,默认300,取值:1~100000000。
-
getAlgDetectResults
public AlgDetectResult[] getAlgDetectResults()
Get Cookie校验校验结果。- Returns:
- AlgDetectResults Cookie校验校验结果。
-
setAlgDetectResults
public void setAlgDetectResults(AlgDetectResult[] AlgDetectResults)
Set Cookie校验校验结果。- Parameters:
AlgDetectResults- Cookie校验校验结果。
-
getSessionBehaviors
public AlgDetectResult[] getSessionBehaviors()
Get 会话速率和周期特征校验结果。- Returns:
- SessionBehaviors 会话速率和周期特征校验结果。
-
setSessionBehaviors
public void setSessionBehaviors(AlgDetectResult[] SessionBehaviors)
Set 会话速率和周期特征校验结果。- Parameters:
SessionBehaviors- 会话速率和周期特征校验结果。
-
-