Class SnapshotInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cfs.v20190719.models.SnapshotInfo
-
public class SnapshotInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SnapshotInfo()SnapshotInfo(SnapshotInfo 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 LonggetAliveDay()Get 保留时长天LonggetAppId()Get 帐号IDStringgetCreationTime()Get 创建快照时间StringgetDeleteTime()Get 快照删除时间StringgetFileSystemId()Get 文件系统IDStringgetFsName()Get 文件系统名称LonggetPercent()Get 快照进度百分比,1表示1%StringgetRegionName()Get 地域名称LonggetSize()Get 快照大小StringgetSnapshotId()Get 快照IDStringgetSnapshotName()Get 快照名称StringgetSnapshotTime()Get 实际快照时间,反应快照对应文件系统某个时刻的数据。 注意:此字段可能返回 null,表示取不到有效值。StringgetSnapshotType()Get 快照类型, general为通用系列快照,turbo为Turbo系列快照 注意:此字段可能返回 null,表示取不到有效值。StringgetStatus()Get 快照状态,createing-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败TagInfo[]getTags()Get 快照标签voidsetAliveDay(Long AliveDay)Set 保留时长天voidsetAppId(Long AppId)Set 帐号IDvoidsetCreationTime(String CreationTime)Set 创建快照时间voidsetDeleteTime(String DeleteTime)Set 快照删除时间voidsetFileSystemId(String FileSystemId)Set 文件系统IDvoidsetFsName(String FsName)Set 文件系统名称voidsetPercent(Long Percent)Set 快照进度百分比,1表示1%voidsetRegionName(String RegionName)Set 地域名称voidsetSize(Long Size)Set 快照大小voidsetSnapshotId(String SnapshotId)Set 快照IDvoidsetSnapshotName(String SnapshotName)Set 快照名称voidsetSnapshotTime(String SnapshotTime)Set 实际快照时间,反应快照对应文件系统某个时刻的数据。 注意:此字段可能返回 null,表示取不到有效值。voidsetSnapshotType(String SnapshotType)Set 快照类型, general为通用系列快照,turbo为Turbo系列快照 注意:此字段可能返回 null,表示取不到有效值。voidsetStatus(String Status)Set 快照状态,createing-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败voidsetTags(TagInfo[] Tags)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
-
SnapshotInfo
public SnapshotInfo()
-
SnapshotInfo
public SnapshotInfo(SnapshotInfo 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
-
getCreationTime
public String getCreationTime()
Get 创建快照时间- Returns:
- CreationTime 创建快照时间
-
setCreationTime
public void setCreationTime(String CreationTime)
Set 创建快照时间- Parameters:
CreationTime- 创建快照时间
-
getSnapshotName
public String getSnapshotName()
Get 快照名称- Returns:
- SnapshotName 快照名称
-
setSnapshotName
public void setSnapshotName(String SnapshotName)
Set 快照名称- Parameters:
SnapshotName- 快照名称
-
getSnapshotId
public String getSnapshotId()
Get 快照ID- Returns:
- SnapshotId 快照ID
-
setSnapshotId
public void setSnapshotId(String SnapshotId)
Set 快照ID- Parameters:
SnapshotId- 快照ID
-
getStatus
public String getStatus()
Get 快照状态,createing-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败- Returns:
- Status 快照状态,createing-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败
-
setStatus
public void setStatus(String Status)
Set 快照状态,createing-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败- Parameters:
Status- 快照状态,createing-创建中;available-运行中;deleting-删除中;rollbacking-new 创建新文件系统中;create-failed 创建失败
-
getRegionName
public String getRegionName()
Get 地域名称- Returns:
- RegionName 地域名称
-
setRegionName
public void setRegionName(String RegionName)
Set 地域名称- Parameters:
RegionName- 地域名称
-
getFileSystemId
public String getFileSystemId()
Get 文件系统ID- Returns:
- FileSystemId 文件系统ID
-
setFileSystemId
public void setFileSystemId(String FileSystemId)
Set 文件系统ID- Parameters:
FileSystemId- 文件系统ID
-
getSize
public Long getSize()
Get 快照大小- Returns:
- Size 快照大小
-
setSize
public void setSize(Long Size)
Set 快照大小- Parameters:
Size- 快照大小
-
getAliveDay
public Long getAliveDay()
Get 保留时长天- Returns:
- AliveDay 保留时长天
-
setAliveDay
public void setAliveDay(Long AliveDay)
Set 保留时长天- Parameters:
AliveDay- 保留时长天
-
getPercent
public Long getPercent()
Get 快照进度百分比,1表示1%- Returns:
- Percent 快照进度百分比,1表示1%
-
setPercent
public void setPercent(Long Percent)
Set 快照进度百分比,1表示1%- Parameters:
Percent- 快照进度百分比,1表示1%
-
getAppId
public Long getAppId()
Get 帐号ID- Returns:
- AppId 帐号ID
-
setAppId
public void setAppId(Long AppId)
Set 帐号ID- Parameters:
AppId- 帐号ID
-
getDeleteTime
public String getDeleteTime()
Get 快照删除时间- Returns:
- DeleteTime 快照删除时间
-
setDeleteTime
public void setDeleteTime(String DeleteTime)
Set 快照删除时间- Parameters:
DeleteTime- 快照删除时间
-
getFsName
public String getFsName()
Get 文件系统名称- Returns:
- FsName 文件系统名称
-
setFsName
public void setFsName(String FsName)
Set 文件系统名称- Parameters:
FsName- 文件系统名称
-
getTags
public TagInfo[] getTags()
Get 快照标签- Returns:
- Tags 快照标签
-
setTags
public void setTags(TagInfo[] Tags)
Set 快照标签- Parameters:
Tags- 快照标签
-
getSnapshotType
public String getSnapshotType()
Get 快照类型, general为通用系列快照,turbo为Turbo系列快照 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SnapshotType 快照类型, general为通用系列快照,turbo为Turbo系列快照 注意:此字段可能返回 null,表示取不到有效值。
-
setSnapshotType
public void setSnapshotType(String SnapshotType)
Set 快照类型, general为通用系列快照,turbo为Turbo系列快照 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SnapshotType- 快照类型, general为通用系列快照,turbo为Turbo系列快照 注意:此字段可能返回 null,表示取不到有效值。
-
getSnapshotTime
public String getSnapshotTime()
Get 实际快照时间,反应快照对应文件系统某个时刻的数据。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SnapshotTime 实际快照时间,反应快照对应文件系统某个时刻的数据。 注意:此字段可能返回 null,表示取不到有效值。
-
setSnapshotTime
public void setSnapshotTime(String SnapshotTime)
Set 实际快照时间,反应快照对应文件系统某个时刻的数据。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SnapshotTime- 实际快照时间,反应快照对应文件系统某个时刻的数据。 注意:此字段可能返回 null,表示取不到有效值。
-
-