Class CreateClsLogSetRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.clb.v20180317.models.CreateClsLogSetRequest
-
public class CreateClsLogSetRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description CreateClsLogSetRequest()CreateClsLogSetRequest(CreateClsLogSetRequest 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 StringgetLogsetName()Get 日志集的名字,不能和cls其他日志集重名。不填默认为clb_logset。StringgetLogsetType()Get 日志集类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。LonggetPeriod()Get 日志集的保存周期,单位:天。voidsetLogsetName(String LogsetName)Set 日志集的名字,不能和cls其他日志集重名。不填默认为clb_logset。voidsetLogsetType(String LogsetType)Set 日志集类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。voidsetPeriod(Long Period)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
-
CreateClsLogSetRequest
public CreateClsLogSetRequest()
-
CreateClsLogSetRequest
public CreateClsLogSetRequest(CreateClsLogSetRequest 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
-
getLogsetName
public String getLogsetName()
Get 日志集的名字,不能和cls其他日志集重名。不填默认为clb_logset。- Returns:
- LogsetName 日志集的名字,不能和cls其他日志集重名。不填默认为clb_logset。
-
setLogsetName
public void setLogsetName(String LogsetName)
Set 日志集的名字,不能和cls其他日志集重名。不填默认为clb_logset。- Parameters:
LogsetName- 日志集的名字,不能和cls其他日志集重名。不填默认为clb_logset。
-
getPeriod
public Long getPeriod()
Get 日志集的保存周期,单位:天。- Returns:
- Period 日志集的保存周期,单位:天。
-
setPeriod
public void setPeriod(Long Period)
Set 日志集的保存周期,单位:天。- Parameters:
Period- 日志集的保存周期,单位:天。
-
getLogsetType
public String getLogsetType()
Get 日志集类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。- Returns:
- LogsetType 日志集类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
-
setLogsetType
public void setLogsetType(String LogsetType)
Set 日志集类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。- Parameters:
LogsetType- 日志集类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
-
-