Class DescribeAutoSnapshotPoliciesRequest


  • public class DescribeAutoSnapshotPoliciesRequest
    extends AbstractModel
    • 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 - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
      Long getLimit()
      Get 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。
      Long getOffset()
      Get 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。
      String getOrder()
      Get 输出定期快照列表的排列顺序。取值范围:
      ASC:升序排列
      DESC:降序排列。
      String getOrderField()
      Get 定期快照列表排序的依据字段。取值范围:
      CREATETIME:依据定期快照的创建时间排序
      默认按创建时间排序。
      void setAutoSnapshotPolicyIds​(String[] AutoSnapshotPolicyIds)
      Set 要查询的定期快照策略ID列表。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。
      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 - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
      void setLimit​(Long Limit)
      Set 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](/document/product/362/15633)中的相关小节。
      void setOffset​(Long Offset)
      Set 偏移量,默认为0。关于`Offset`的更进一步介绍请参考API[简介](/document/product/362/15633)中的相关小节。
      void setOrder​(String Order)
      Set 输出定期快照列表的排列顺序。取值范围:
      ASC:升序排列
      DESC:降序排列。
      void setOrderField​(String OrderField)
      Set 定期快照列表排序的依据字段。取值范围:
      CREATETIME:依据定期快照的创建时间排序
      默认按创建时间排序。
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • 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 - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。
  • 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 - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。