
com.tencentcloudapi.cfs.v20190719.models.FileSystemInfo Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.cfs.v20190719.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class FileSystemInfo extends AbstractModel{
/**
* 创建时间
*/
@SerializedName("CreationTime")
@Expose
private String CreationTime;
/**
* 用户自定义名称
*/
@SerializedName("CreationToken")
@Expose
private String CreationToken;
/**
* 文件系统 ID
*/
@SerializedName("FileSystemId")
@Expose
private String FileSystemId;
/**
* 文件系统状态。取值范围:
- creating:创建中
- mounting:挂载中
- create_failed:创建失败
- available:可使用
- unserviced:停服中
- upgrading:升级中
*/
@SerializedName("LifeCycleState")
@Expose
private String LifeCycleState;
/**
* 文件系统已使用容量
*/
@SerializedName("SizeByte")
@Expose
private Long SizeByte;
/**
* 文件系统最大空间限制
*/
@SerializedName("SizeLimit")
@Expose
private Long SizeLimit;
/**
* 区域 ID
*/
@SerializedName("ZoneId")
@Expose
private Long ZoneId;
/**
* 区域名称
*/
@SerializedName("Zone")
@Expose
private String Zone;
/**
* 文件系统协议类型
*/
@SerializedName("Protocol")
@Expose
private String Protocol;
/**
* 文件系统存储类型
*/
@SerializedName("StorageType")
@Expose
private String StorageType;
/**
* 文件系统绑定的预付费存储包
*/
@SerializedName("StorageResourcePkg")
@Expose
private String StorageResourcePkg;
/**
* 文件系统绑定的预付费带宽包(暂未支持)
*/
@SerializedName("BandwidthResourcePkg")
@Expose
private String BandwidthResourcePkg;
/**
* 文件系统绑定权限组信息
*/
@SerializedName("PGroup")
@Expose
private PGroup PGroup;
/**
* 用户自定义名称
*/
@SerializedName("FsName")
@Expose
private String FsName;
/**
* 文件系统是否加密
*/
@SerializedName("Encrypted")
@Expose
private Boolean Encrypted;
/**
* 加密所使用的密钥,可以为密钥的 ID 或者 ARN
*/
@SerializedName("KmsKeyId")
@Expose
private String KmsKeyId;
/**
* 应用ID
*/
@SerializedName("AppId")
@Expose
private Long AppId;
/**
* 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定
*/
@SerializedName("BandwidthLimit")
@Expose
private Float BandwidthLimit;
/**
* 文件系统总容量
*/
@SerializedName("Capacity")
@Expose
private Long Capacity;
/**
* 文件系统标签列表
*/
@SerializedName("Tags")
@Expose
private TagInfo [] Tags;
/**
* 文件系统生命周期管理状态
*/
@SerializedName("TieringState")
@Expose
private String TieringState;
/**
* 分层存储详情
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("TieringDetail")
@Expose
private TieringDetailInfo TieringDetail;
/**
* Get 创建时间
* @return CreationTime 创建时间
*/
public String getCreationTime() {
return this.CreationTime;
}
/**
* Set 创建时间
* @param CreationTime 创建时间
*/
public void setCreationTime(String CreationTime) {
this.CreationTime = CreationTime;
}
/**
* Get 用户自定义名称
* @return CreationToken 用户自定义名称
*/
public String getCreationToken() {
return this.CreationToken;
}
/**
* Set 用户自定义名称
* @param CreationToken 用户自定义名称
*/
public void setCreationToken(String CreationToken) {
this.CreationToken = CreationToken;
}
/**
* Get 文件系统 ID
* @return FileSystemId 文件系统 ID
*/
public String getFileSystemId() {
return this.FileSystemId;
}
/**
* Set 文件系统 ID
* @param FileSystemId 文件系统 ID
*/
public void setFileSystemId(String FileSystemId) {
this.FileSystemId = FileSystemId;
}
/**
* Get 文件系统状态。取值范围:
- creating:创建中
- mounting:挂载中
- create_failed:创建失败
- available:可使用
- unserviced:停服中
- upgrading:升级中
* @return LifeCycleState 文件系统状态。取值范围:
- creating:创建中
- mounting:挂载中
- create_failed:创建失败
- available:可使用
- unserviced:停服中
- upgrading:升级中
*/
public String getLifeCycleState() {
return this.LifeCycleState;
}
/**
* Set 文件系统状态。取值范围:
- creating:创建中
- mounting:挂载中
- create_failed:创建失败
- available:可使用
- unserviced:停服中
- upgrading:升级中
* @param LifeCycleState 文件系统状态。取值范围:
- creating:创建中
- mounting:挂载中
- create_failed:创建失败
- available:可使用
- unserviced:停服中
- upgrading:升级中
*/
public void setLifeCycleState(String LifeCycleState) {
this.LifeCycleState = LifeCycleState;
}
/**
* Get 文件系统已使用容量
* @return SizeByte 文件系统已使用容量
*/
public Long getSizeByte() {
return this.SizeByte;
}
/**
* Set 文件系统已使用容量
* @param SizeByte 文件系统已使用容量
*/
public void setSizeByte(Long SizeByte) {
this.SizeByte = SizeByte;
}
/**
* Get 文件系统最大空间限制
* @return SizeLimit 文件系统最大空间限制
*/
public Long getSizeLimit() {
return this.SizeLimit;
}
/**
* Set 文件系统最大空间限制
* @param SizeLimit 文件系统最大空间限制
*/
public void setSizeLimit(Long SizeLimit) {
this.SizeLimit = SizeLimit;
}
/**
* Get 区域 ID
* @return ZoneId 区域 ID
*/
public Long getZoneId() {
return this.ZoneId;
}
/**
* Set 区域 ID
* @param ZoneId 区域 ID
*/
public void setZoneId(Long ZoneId) {
this.ZoneId = ZoneId;
}
/**
* Get 区域名称
* @return Zone 区域名称
*/
public String getZone() {
return this.Zone;
}
/**
* Set 区域名称
* @param Zone 区域名称
*/
public void setZone(String Zone) {
this.Zone = Zone;
}
/**
* Get 文件系统协议类型
* @return Protocol 文件系统协议类型
*/
public String getProtocol() {
return this.Protocol;
}
/**
* Set 文件系统协议类型
* @param Protocol 文件系统协议类型
*/
public void setProtocol(String Protocol) {
this.Protocol = Protocol;
}
/**
* Get 文件系统存储类型
* @return StorageType 文件系统存储类型
*/
public String getStorageType() {
return this.StorageType;
}
/**
* Set 文件系统存储类型
* @param StorageType 文件系统存储类型
*/
public void setStorageType(String StorageType) {
this.StorageType = StorageType;
}
/**
* Get 文件系统绑定的预付费存储包
* @return StorageResourcePkg 文件系统绑定的预付费存储包
*/
public String getStorageResourcePkg() {
return this.StorageResourcePkg;
}
/**
* Set 文件系统绑定的预付费存储包
* @param StorageResourcePkg 文件系统绑定的预付费存储包
*/
public void setStorageResourcePkg(String StorageResourcePkg) {
this.StorageResourcePkg = StorageResourcePkg;
}
/**
* Get 文件系统绑定的预付费带宽包(暂未支持)
* @return BandwidthResourcePkg 文件系统绑定的预付费带宽包(暂未支持)
*/
public String getBandwidthResourcePkg() {
return this.BandwidthResourcePkg;
}
/**
* Set 文件系统绑定的预付费带宽包(暂未支持)
* @param BandwidthResourcePkg 文件系统绑定的预付费带宽包(暂未支持)
*/
public void setBandwidthResourcePkg(String BandwidthResourcePkg) {
this.BandwidthResourcePkg = BandwidthResourcePkg;
}
/**
* Get 文件系统绑定权限组信息
* @return PGroup 文件系统绑定权限组信息
*/
public PGroup getPGroup() {
return this.PGroup;
}
/**
* Set 文件系统绑定权限组信息
* @param PGroup 文件系统绑定权限组信息
*/
public void setPGroup(PGroup PGroup) {
this.PGroup = PGroup;
}
/**
* Get 用户自定义名称
* @return FsName 用户自定义名称
*/
public String getFsName() {
return this.FsName;
}
/**
* Set 用户自定义名称
* @param FsName 用户自定义名称
*/
public void setFsName(String FsName) {
this.FsName = FsName;
}
/**
* Get 文件系统是否加密
* @return Encrypted 文件系统是否加密
*/
public Boolean getEncrypted() {
return this.Encrypted;
}
/**
* Set 文件系统是否加密
* @param Encrypted 文件系统是否加密
*/
public void setEncrypted(Boolean Encrypted) {
this.Encrypted = Encrypted;
}
/**
* Get 加密所使用的密钥,可以为密钥的 ID 或者 ARN
* @return KmsKeyId 加密所使用的密钥,可以为密钥的 ID 或者 ARN
*/
public String getKmsKeyId() {
return this.KmsKeyId;
}
/**
* Set 加密所使用的密钥,可以为密钥的 ID 或者 ARN
* @param KmsKeyId 加密所使用的密钥,可以为密钥的 ID 或者 ARN
*/
public void setKmsKeyId(String KmsKeyId) {
this.KmsKeyId = KmsKeyId;
}
/**
* Get 应用ID
* @return AppId 应用ID
*/
public Long getAppId() {
return this.AppId;
}
/**
* Set 应用ID
* @param AppId 应用ID
*/
public void setAppId(Long AppId) {
this.AppId = AppId;
}
/**
* Get 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定
* @return BandwidthLimit 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定
*/
public Float getBandwidthLimit() {
return this.BandwidthLimit;
}
/**
* Set 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定
* @param BandwidthLimit 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定
*/
public void setBandwidthLimit(Float BandwidthLimit) {
this.BandwidthLimit = BandwidthLimit;
}
/**
* Get 文件系统总容量
* @return Capacity 文件系统总容量
*/
public Long getCapacity() {
return this.Capacity;
}
/**
* Set 文件系统总容量
* @param Capacity 文件系统总容量
*/
public void setCapacity(Long Capacity) {
this.Capacity = Capacity;
}
/**
* Get 文件系统标签列表
* @return Tags 文件系统标签列表
*/
public TagInfo [] getTags() {
return this.Tags;
}
/**
* Set 文件系统标签列表
* @param Tags 文件系统标签列表
*/
public void setTags(TagInfo [] Tags) {
this.Tags = Tags;
}
/**
* Get 文件系统生命周期管理状态
* @return TieringState 文件系统生命周期管理状态
*/
public String getTieringState() {
return this.TieringState;
}
/**
* Set 文件系统生命周期管理状态
* @param TieringState 文件系统生命周期管理状态
*/
public void setTieringState(String TieringState) {
this.TieringState = TieringState;
}
/**
* Get 分层存储详情
注意:此字段可能返回 null,表示取不到有效值。
* @return TieringDetail 分层存储详情
注意:此字段可能返回 null,表示取不到有效值。
*/
public TieringDetailInfo getTieringDetail() {
return this.TieringDetail;
}
/**
* Set 分层存储详情
注意:此字段可能返回 null,表示取不到有效值。
* @param TieringDetail 分层存储详情
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setTieringDetail(TieringDetailInfo TieringDetail) {
this.TieringDetail = TieringDetail;
}
public FileSystemInfo() {
}
/**
* 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.
*/
public FileSystemInfo(FileSystemInfo source) {
if (source.CreationTime != null) {
this.CreationTime = new String(source.CreationTime);
}
if (source.CreationToken != null) {
this.CreationToken = new String(source.CreationToken);
}
if (source.FileSystemId != null) {
this.FileSystemId = new String(source.FileSystemId);
}
if (source.LifeCycleState != null) {
this.LifeCycleState = new String(source.LifeCycleState);
}
if (source.SizeByte != null) {
this.SizeByte = new Long(source.SizeByte);
}
if (source.SizeLimit != null) {
this.SizeLimit = new Long(source.SizeLimit);
}
if (source.ZoneId != null) {
this.ZoneId = new Long(source.ZoneId);
}
if (source.Zone != null) {
this.Zone = new String(source.Zone);
}
if (source.Protocol != null) {
this.Protocol = new String(source.Protocol);
}
if (source.StorageType != null) {
this.StorageType = new String(source.StorageType);
}
if (source.StorageResourcePkg != null) {
this.StorageResourcePkg = new String(source.StorageResourcePkg);
}
if (source.BandwidthResourcePkg != null) {
this.BandwidthResourcePkg = new String(source.BandwidthResourcePkg);
}
if (source.PGroup != null) {
this.PGroup = new PGroup(source.PGroup);
}
if (source.FsName != null) {
this.FsName = new String(source.FsName);
}
if (source.Encrypted != null) {
this.Encrypted = new Boolean(source.Encrypted);
}
if (source.KmsKeyId != null) {
this.KmsKeyId = new String(source.KmsKeyId);
}
if (source.AppId != null) {
this.AppId = new Long(source.AppId);
}
if (source.BandwidthLimit != null) {
this.BandwidthLimit = new Float(source.BandwidthLimit);
}
if (source.Capacity != null) {
this.Capacity = new Long(source.Capacity);
}
if (source.Tags != null) {
this.Tags = new TagInfo[source.Tags.length];
for (int i = 0; i < source.Tags.length; i++) {
this.Tags[i] = new TagInfo(source.Tags[i]);
}
}
if (source.TieringState != null) {
this.TieringState = new String(source.TieringState);
}
if (source.TieringDetail != null) {
this.TieringDetail = new TieringDetailInfo(source.TieringDetail);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "CreationTime", this.CreationTime);
this.setParamSimple(map, prefix + "CreationToken", this.CreationToken);
this.setParamSimple(map, prefix + "FileSystemId", this.FileSystemId);
this.setParamSimple(map, prefix + "LifeCycleState", this.LifeCycleState);
this.setParamSimple(map, prefix + "SizeByte", this.SizeByte);
this.setParamSimple(map, prefix + "SizeLimit", this.SizeLimit);
this.setParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.setParamSimple(map, prefix + "Zone", this.Zone);
this.setParamSimple(map, prefix + "Protocol", this.Protocol);
this.setParamSimple(map, prefix + "StorageType", this.StorageType);
this.setParamSimple(map, prefix + "StorageResourcePkg", this.StorageResourcePkg);
this.setParamSimple(map, prefix + "BandwidthResourcePkg", this.BandwidthResourcePkg);
this.setParamObj(map, prefix + "PGroup.", this.PGroup);
this.setParamSimple(map, prefix + "FsName", this.FsName);
this.setParamSimple(map, prefix + "Encrypted", this.Encrypted);
this.setParamSimple(map, prefix + "KmsKeyId", this.KmsKeyId);
this.setParamSimple(map, prefix + "AppId", this.AppId);
this.setParamSimple(map, prefix + "BandwidthLimit", this.BandwidthLimit);
this.setParamSimple(map, prefix + "Capacity", this.Capacity);
this.setParamArrayObj(map, prefix + "Tags.", this.Tags);
this.setParamSimple(map, prefix + "TieringState", this.TieringState);
this.setParamObj(map, prefix + "TieringDetail.", this.TieringDetail);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy