Class DescribeAutoSnapshotPoliciesRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cbs.v20170312.models.DescribeAutoSnapshotPoliciesRequest
-
public class DescribeAutoSnapshotPoliciesRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeAutoSnapshotPoliciesRequest()DescribeAutoSnapshotPoliciesRequest(DescribeAutoSnapshotPoliciesRequest 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 String[]getAutoSnapshotPolicyIds()Get 要查询的定期快照策略ID列表。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。Filter[]getFilters()Get 过滤条件。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。
auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-11112222`。
auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-11112222`。(NORMAL:正常 | ISOLATED:已隔离。)
auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。LonggetLimit()Get 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。LonggetOffset()Get 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。StringgetOrder()Get 输出定期快照列表的排列顺序。取值范围:
ASC:升序排列
DESC:降序排列。StringgetOrderField()Get 定期快照列表排序的依据字段。取值范围:
CREATETIME:依据定期快照的创建时间排序
默认按创建时间排序。voidsetAutoSnapshotPolicyIds(String[] AutoSnapshotPolicyIds)Set 要查询的定期快照策略ID列表。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。voidsetFilters(Filter[] Filters)Set 过滤条件。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。
auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-11112222`。
auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-11112222`。(NORMAL:正常 | ISOLATED:已隔离。)
auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。voidsetLimit(Long Limit)Set 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。voidsetOffset(Long Offset)Set 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。voidsetOrder(String Order)Set 输出定期快照列表的排列顺序。取值范围:
ASC:升序排列
DESC:降序排列。voidsetOrderField(String OrderField)Set 定期快照列表排序的依据字段。取值范围:
CREATETIME:依据定期快照的创建时间排序
默认按创建时间排序。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
-
DescribeAutoSnapshotPoliciesRequest
public DescribeAutoSnapshotPoliciesRequest()
-
DescribeAutoSnapshotPoliciesRequest
public DescribeAutoSnapshotPoliciesRequest(DescribeAutoSnapshotPoliciesRequest 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
-
getAutoSnapshotPolicyIds
public String[] getAutoSnapshotPolicyIds()
Get 要查询的定期快照策略ID列表。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。- Returns:
- AutoSnapshotPolicyIds 要查询的定期快照策略ID列表。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。
-
setAutoSnapshotPolicyIds
public void setAutoSnapshotPolicyIds(String[] AutoSnapshotPolicyIds)
Set 要查询的定期快照策略ID列表。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。- Parameters:
AutoSnapshotPolicyIds- 要查询的定期快照策略ID列表。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。
-
getFilters
public Filter[] getFilters()
Get 过滤条件。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。- auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-11112222`。
- auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-11112222`。(NORMAL:正常 | ISOLATED:已隔离。)
- auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
- Returns:
- Filters 过滤条件。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。
- auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-11112222`。
- auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-11112222`。(NORMAL:正常 | ISOLATED:已隔离。)
- auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
- auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-11112222`。
- auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-11112222`。
-
setFilters
public void setFilters(Filter[] Filters)
Set 过滤条件。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。- auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-11112222`。
- auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-11112222`。(NORMAL:正常 | ISOLATED:已隔离。)
- auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
- Parameters:
Filters- 过滤条件。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。- auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-11112222`。
- auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-11112222`。(NORMAL:正常 | ISOLATED:已隔离。)
- auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
- auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-11112222`。
- auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-11112222`。
-
getLimit
public Long getLimit()
Get 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。- Returns:
- Limit 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。
-
setLimit
public void setLimit(Long Limit)
Set 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。- Parameters:
Limit- 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。
-
getOffset
public Long getOffset()
Get 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。- Returns:
- Offset 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。
-
setOffset
public void setOffset(Long Offset)
Set 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。- Parameters:
Offset- 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。
-
getOrder
public String getOrder()
Get 输出定期快照列表的排列顺序。取值范围:- ASC:升序排列
- DESC:降序排列。
- Returns:
- Order 输出定期快照列表的排列顺序。取值范围:
- ASC:升序排列
- DESC:降序排列。
- ASC:升序排列
- ASC:升序排列
-
setOrder
public void setOrder(String Order)
Set 输出定期快照列表的排列顺序。取值范围:- ASC:升序排列
- DESC:降序排列。
- Parameters:
Order- 输出定期快照列表的排列顺序。取值范围:- ASC:升序排列
- DESC:降序排列。
- ASC:升序排列
- ASC:升序排列
-
getOrderField
public String getOrderField()
Get 定期快照列表排序的依据字段。取值范围:- CREATETIME:依据定期快照的创建时间排序
默认按创建时间排序。- Returns:
- OrderField 定期快照列表排序的依据字段。取值范围:
- CREATETIME:依据定期快照的创建时间排序
默认按创建时间排序。 - CREATETIME:依据定期快照的创建时间排序
- CREATETIME:依据定期快照的创建时间排序
-
setOrderField
public void setOrderField(String OrderField)
Set 定期快照列表排序的依据字段。取值范围:- CREATETIME:依据定期快照的创建时间排序
默认按创建时间排序。- Parameters:
OrderField- 定期快照列表排序的依据字段。取值范围:- CREATETIME:依据定期快照的创建时间排序
默认按创建时间排序。- CREATETIME:依据定期快照的创建时间排序
- CREATETIME:依据定期快照的创建时间排序
-
-