public class SnapshotGroup extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SnapshotGroup() | 
| SnapshotGroup(SnapshotGroup 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAutoSnapshotPolicyId()Get 来源自动快照策略ID
注意:此字段可能返回 null,表示取不到有效值。 | 
| Boolean | getContainRootSnapshot()Get 快照组是否包含系统盘快照。 | 
| String | getCreateTime()Get 快照组创建时间。 | 
| String | getDeadlineTime()Get 快照组到期时间。
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getImageCount()Get 快照组关联的镜像数量。 | 
| Image[] | getImages()Get 快照组关联的镜像列表。 | 
| Boolean | getIsPermanent()Get 快照组是否永久保留 | 
| String | getModifyTime()Get 快照组最新修改时间 | 
| Long | getPercent()Get 快照组创建进度。 | 
| String | getSnapshotGroupId()Get 快照组ID。 | 
| String | getSnapshotGroupName()Get 快照组名称。 | 
| String | getSnapshotGroupState()Get 
    NORMAL: 正常
    CREATING: 创建中
    ROLLBACKING: 回滚中
 | 
| String | getSnapshotGroupType()Get 快照组类型。NORMAL: 普通快照组,非一致性快照。 | 
| String[] | getSnapshotIdSet()Get 快照组包含的快照ID列表。 | 
| void | setAutoSnapshotPolicyId(String AutoSnapshotPolicyId)Set 来源自动快照策略ID
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setContainRootSnapshot(Boolean ContainRootSnapshot)Set 快照组是否包含系统盘快照。 | 
| void | setCreateTime(String CreateTime)Set 快照组创建时间。 | 
| void | setDeadlineTime(String DeadlineTime)Set 快照组到期时间。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setImageCount(Long ImageCount)Set 快照组关联的镜像数量。 | 
| void | setImages(Image[] Images)Set 快照组关联的镜像列表。 | 
| void | setIsPermanent(Boolean IsPermanent)Set 快照组是否永久保留 | 
| void | setModifyTime(String ModifyTime)Set 快照组最新修改时间 | 
| void | setPercent(Long Percent)Set 快照组创建进度。 | 
| void | setSnapshotGroupId(String SnapshotGroupId)Set 快照组ID。 | 
| void | setSnapshotGroupName(String SnapshotGroupName)Set 快照组名称。 | 
| void | setSnapshotGroupState(String SnapshotGroupState)Set 
    NORMAL: 正常
    CREATING: 创建中
    ROLLBACKING: 回滚中
 | 
| void | setSnapshotGroupType(String SnapshotGroupType)Set 快照组类型。NORMAL: 普通快照组,非一致性快照。 | 
| void | setSnapshotIdSet(String[] SnapshotIdSet)Set 快照组包含的快照ID列表。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic SnapshotGroup()
public SnapshotGroup(SnapshotGroup source)
public String getSnapshotGroupId()
public void setSnapshotGroupId(String SnapshotGroupId)
SnapshotGroupId - 快照组ID。public String getSnapshotGroupType()
public void setSnapshotGroupType(String SnapshotGroupType)
SnapshotGroupType - 快照组类型。NORMAL: 普通快照组,非一致性快照。public Boolean getContainRootSnapshot()
public void setContainRootSnapshot(Boolean ContainRootSnapshot)
ContainRootSnapshot - 快照组是否包含系统盘快照。public String[] getSnapshotIdSet()
public void setSnapshotIdSet(String[] SnapshotIdSet)
SnapshotIdSet - 快照组包含的快照ID列表。public String getSnapshotGroupState()
public void setSnapshotGroupState(String SnapshotGroupState)
SnapshotGroupState - public Long getPercent()
public void setPercent(Long Percent)
Percent - 快照组创建进度。public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime - 快照组创建时间。public String getModifyTime()
public void setModifyTime(String ModifyTime)
ModifyTime - 快照组最新修改时间public Image[] getImages()
public void setImages(Image[] Images)
Images - 快照组关联的镜像列表。public String getSnapshotGroupName()
public void setSnapshotGroupName(String SnapshotGroupName)
SnapshotGroupName - 快照组名称。public Long getImageCount()
public void setImageCount(Long ImageCount)
ImageCount - 快照组关联的镜像数量。public Boolean getIsPermanent()
public void setIsPermanent(Boolean IsPermanent)
IsPermanent - 快照组是否永久保留public String getDeadlineTime()
public void setDeadlineTime(String DeadlineTime)
DeadlineTime - 快照组到期时间。
注意:此字段可能返回 null,表示取不到有效值。public String getAutoSnapshotPolicyId()
public void setAutoSnapshotPolicyId(String AutoSnapshotPolicyId)
AutoSnapshotPolicyId - 来源自动快照策略ID
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.