Class ListPoliciesRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cam.v20190116.models.ListPoliciesRequest
-
public class ListPoliciesRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ListPoliciesRequest()ListPoliciesRequest(ListPoliciesRequest 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 StringgetKeyword()Get 按策略名匹配LonggetPage()Get 页码,默认值是 1,从 1开始,不能大于 200LonggetRp()Get 每页数量,默认值是 20,必须大于 0 且小于或等于 200StringgetScope()Get 可取值 'All'、'QCS' 和 'Local','All' 获取所有策略,'QCS' 只获取预设策略,'Local' 只获取自定义策略,默认取 'All'voidsetKeyword(String Keyword)Set 按策略名匹配voidsetPage(Long Page)Set 页码,默认值是 1,从 1开始,不能大于 200voidsetRp(Long Rp)Set 每页数量,默认值是 20,必须大于 0 且小于或等于 200voidsetScope(String Scope)Set 可取值 'All'、'QCS' 和 'Local','All' 获取所有策略,'QCS' 只获取预设策略,'Local' 只获取自定义策略,默认取 'All'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
-
ListPoliciesRequest
public ListPoliciesRequest()
-
ListPoliciesRequest
public ListPoliciesRequest(ListPoliciesRequest 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
-
getRp
public Long getRp()
Get 每页数量,默认值是 20,必须大于 0 且小于或等于 200- Returns:
- Rp 每页数量,默认值是 20,必须大于 0 且小于或等于 200
-
setRp
public void setRp(Long Rp)
Set 每页数量,默认值是 20,必须大于 0 且小于或等于 200- Parameters:
Rp- 每页数量,默认值是 20,必须大于 0 且小于或等于 200
-
getPage
public Long getPage()
Get 页码,默认值是 1,从 1开始,不能大于 200- Returns:
- Page 页码,默认值是 1,从 1开始,不能大于 200
-
setPage
public void setPage(Long Page)
Set 页码,默认值是 1,从 1开始,不能大于 200- Parameters:
Page- 页码,默认值是 1,从 1开始,不能大于 200
-
getScope
public String getScope()
Get 可取值 'All'、'QCS' 和 'Local','All' 获取所有策略,'QCS' 只获取预设策略,'Local' 只获取自定义策略,默认取 'All'- Returns:
- Scope 可取值 'All'、'QCS' 和 'Local','All' 获取所有策略,'QCS' 只获取预设策略,'Local' 只获取自定义策略,默认取 'All'
-
setScope
public void setScope(String Scope)
Set 可取值 'All'、'QCS' 和 'Local','All' 获取所有策略,'QCS' 只获取预设策略,'Local' 只获取自定义策略,默认取 'All'- Parameters:
Scope- 可取值 'All'、'QCS' 和 'Local','All' 获取所有策略,'QCS' 只获取预设策略,'Local' 只获取自定义策略,默认取 'All'
-
getKeyword
public String getKeyword()
Get 按策略名匹配- Returns:
- Keyword 按策略名匹配
-
setKeyword
public void setKeyword(String Keyword)
Set 按策略名匹配- Parameters:
Keyword- 按策略名匹配
-
-