![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.tcss.v20201101.models.ContainerInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.tcss.v20201101.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ContainerInfo extends AbstractModel {
/**
* Container ID
*/
@SerializedName("ContainerID")
@Expose
private String ContainerID;
/**
* Container name
*/
@SerializedName("ContainerName")
@Expose
private String ContainerName;
/**
* Container status
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* Creation time
*/
@SerializedName("CreateTime")
@Expose
private String CreateTime;
/**
* Operator
*/
@SerializedName("RunAs")
@Expose
private String RunAs;
/**
* Command line
*/
@SerializedName("Cmd")
@Expose
private String Cmd;
/**
* CPU utilization * 1000
*/
@SerializedName("CPUUsage")
@Expose
private Long CPUUsage;
/**
* Memory usage in KB
*/
@SerializedName("RamUsage")
@Expose
private Long RamUsage;
/**
* Image name
*/
@SerializedName("ImageName")
@Expose
private String ImageName;
/**
* Image ID
*/
@SerializedName("ImageID")
@Expose
private String ImageID;
/**
* Image ID
*/
@SerializedName("POD")
@Expose
private String POD;
/**
* Server ID
*/
@SerializedName("HostID")
@Expose
private String HostID;
/**
* Server IP
*/
@SerializedName("HostIP")
@Expose
private String HostIP;
/**
* Update time
*/
@SerializedName("UpdateTime")
@Expose
private String UpdateTime;
/**
* Server name
*/
@SerializedName("HostName")
@Expose
private String HostName;
/**
* Public IP
*/
@SerializedName("PublicIp")
@Expose
private String PublicIp;
/**
* Network status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
*/
@SerializedName("NetStatus")
@Expose
private String NetStatus;
/**
* Sub-status of the network
*/
@SerializedName("NetSubStatus")
@Expose
private String NetSubStatus;
/**
* Isolation source
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("IsolateSource")
@Expose
private String IsolateSource;
/**
* Isolation time
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("IsolateTime")
@Expose
private String IsolateTime;
/**
* Super node ID
*/
@SerializedName("NodeID")
@Expose
private String NodeID;
/**
* Pod IP
*/
@SerializedName("PodIP")
@Expose
private String PodIP;
/**
* Pod name
*/
@SerializedName("PodName")
@Expose
private String PodName;
/**
* Node type. Valid values: `NORMAL` (general node), `SUPER` (super node)
*/
@SerializedName("NodeType")
@Expose
private String NodeType;
/**
* UID of the super node
*/
@SerializedName("NodeUniqueID")
@Expose
private String NodeUniqueID;
/**
* Number of CPU cores used by the pod
*/
@SerializedName("PodCpu")
@Expose
private Long PodCpu;
/**
* Memory specification of the Pod
*/
@SerializedName("PodMem")
@Expose
private Long PodMem;
/**
*
*/
@SerializedName("ClusterName")
@Expose
private String ClusterName;
/**
*
*/
@SerializedName("ClusterID")
@Expose
private String ClusterID;
/**
*
*/
@SerializedName("PodUid")
@Expose
private String PodUid;
/**
* Get Container ID
* @return ContainerID Container ID
*/
public String getContainerID() {
return this.ContainerID;
}
/**
* Set Container ID
* @param ContainerID Container ID
*/
public void setContainerID(String ContainerID) {
this.ContainerID = ContainerID;
}
/**
* Get Container name
* @return ContainerName Container name
*/
public String getContainerName() {
return this.ContainerName;
}
/**
* Set Container name
* @param ContainerName Container name
*/
public void setContainerName(String ContainerName) {
this.ContainerName = ContainerName;
}
/**
* Get Container status
* @return Status Container status
*/
public String getStatus() {
return this.Status;
}
/**
* Set Container status
* @param Status Container status
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get Creation time
* @return CreateTime Creation time
*/
public String getCreateTime() {
return this.CreateTime;
}
/**
* Set Creation time
* @param CreateTime Creation time
*/
public void setCreateTime(String CreateTime) {
this.CreateTime = CreateTime;
}
/**
* Get Operator
* @return RunAs Operator
*/
public String getRunAs() {
return this.RunAs;
}
/**
* Set Operator
* @param RunAs Operator
*/
public void setRunAs(String RunAs) {
this.RunAs = RunAs;
}
/**
* Get Command line
* @return Cmd Command line
*/
public String getCmd() {
return this.Cmd;
}
/**
* Set Command line
* @param Cmd Command line
*/
public void setCmd(String Cmd) {
this.Cmd = Cmd;
}
/**
* Get CPU utilization * 1000
* @return CPUUsage CPU utilization * 1000
*/
public Long getCPUUsage() {
return this.CPUUsage;
}
/**
* Set CPU utilization * 1000
* @param CPUUsage CPU utilization * 1000
*/
public void setCPUUsage(Long CPUUsage) {
this.CPUUsage = CPUUsage;
}
/**
* Get Memory usage in KB
* @return RamUsage Memory usage in KB
*/
public Long getRamUsage() {
return this.RamUsage;
}
/**
* Set Memory usage in KB
* @param RamUsage Memory usage in KB
*/
public void setRamUsage(Long RamUsage) {
this.RamUsage = RamUsage;
}
/**
* Get Image name
* @return ImageName Image name
*/
public String getImageName() {
return this.ImageName;
}
/**
* Set Image name
* @param ImageName Image name
*/
public void setImageName(String ImageName) {
this.ImageName = ImageName;
}
/**
* Get Image ID
* @return ImageID Image ID
*/
public String getImageID() {
return this.ImageID;
}
/**
* Set Image ID
* @param ImageID Image ID
*/
public void setImageID(String ImageID) {
this.ImageID = ImageID;
}
/**
* Get Image ID
* @return POD Image ID
*/
public String getPOD() {
return this.POD;
}
/**
* Set Image ID
* @param POD Image ID
*/
public void setPOD(String POD) {
this.POD = POD;
}
/**
* Get Server ID
* @return HostID Server ID
*/
public String getHostID() {
return this.HostID;
}
/**
* Set Server ID
* @param HostID Server ID
*/
public void setHostID(String HostID) {
this.HostID = HostID;
}
/**
* Get Server IP
* @return HostIP Server IP
*/
public String getHostIP() {
return this.HostIP;
}
/**
* Set Server IP
* @param HostIP Server IP
*/
public void setHostIP(String HostIP) {
this.HostIP = HostIP;
}
/**
* Get Update time
* @return UpdateTime Update time
*/
public String getUpdateTime() {
return this.UpdateTime;
}
/**
* Set Update time
* @param UpdateTime Update time
*/
public void setUpdateTime(String UpdateTime) {
this.UpdateTime = UpdateTime;
}
/**
* Get Server name
* @return HostName Server name
*/
public String getHostName() {
return this.HostName;
}
/**
* Set Server name
* @param HostName Server name
*/
public void setHostName(String HostName) {
this.HostName = HostName;
}
/**
* Get Public IP
* @return PublicIp Public IP
*/
public String getPublicIp() {
return this.PublicIp;
}
/**
* Set Public IP
* @param PublicIp Public IP
*/
public void setPublicIp(String PublicIp) {
this.PublicIp = PublicIp;
}
/**
* Get Network status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
* @return NetStatus Network status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
*/
public String getNetStatus() {
return this.NetStatus;
}
/**
* Set Network status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
* @param NetStatus Network status
`NORMAL`: Not isolated.
`ISOLATED`: Isolated.
`ISOLATING`: Isolating.
`ISOLATE_FAILED`: Isolation failed.
`RESTORING`: Recovering.
`RESTORE_FAILED`: Recovery failed.
*/
public void setNetStatus(String NetStatus) {
this.NetStatus = NetStatus;
}
/**
* Get Sub-status of the network
* @return NetSubStatus Sub-status of the network
*/
public String getNetSubStatus() {
return this.NetSubStatus;
}
/**
* Set Sub-status of the network
* @param NetSubStatus Sub-status of the network
*/
public void setNetSubStatus(String NetSubStatus) {
this.NetSubStatus = NetSubStatus;
}
/**
* Get Isolation source
Note: This field may return null, indicating that no valid values can be obtained.
* @return IsolateSource Isolation source
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getIsolateSource() {
return this.IsolateSource;
}
/**
* Set Isolation source
Note: This field may return null, indicating that no valid values can be obtained.
* @param IsolateSource Isolation source
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setIsolateSource(String IsolateSource) {
this.IsolateSource = IsolateSource;
}
/**
* Get Isolation time
Note: This field may return null, indicating that no valid values can be obtained.
* @return IsolateTime Isolation time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public String getIsolateTime() {
return this.IsolateTime;
}
/**
* Set Isolation time
Note: This field may return null, indicating that no valid values can be obtained.
* @param IsolateTime Isolation time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setIsolateTime(String IsolateTime) {
this.IsolateTime = IsolateTime;
}
/**
* Get Super node ID
* @return NodeID Super node ID
*/
public String getNodeID() {
return this.NodeID;
}
/**
* Set Super node ID
* @param NodeID Super node ID
*/
public void setNodeID(String NodeID) {
this.NodeID = NodeID;
}
/**
* Get Pod IP
* @return PodIP Pod IP
*/
public String getPodIP() {
return this.PodIP;
}
/**
* Set Pod IP
* @param PodIP Pod IP
*/
public void setPodIP(String PodIP) {
this.PodIP = PodIP;
}
/**
* Get Pod name
* @return PodName Pod name
*/
public String getPodName() {
return this.PodName;
}
/**
* Set Pod name
* @param PodName Pod name
*/
public void setPodName(String PodName) {
this.PodName = PodName;
}
/**
* Get Node type. Valid values: `NORMAL` (general node), `SUPER` (super node)
* @return NodeType Node type. Valid values: `NORMAL` (general node), `SUPER` (super node)
*/
public String getNodeType() {
return this.NodeType;
}
/**
* Set Node type. Valid values: `NORMAL` (general node), `SUPER` (super node)
* @param NodeType Node type. Valid values: `NORMAL` (general node), `SUPER` (super node)
*/
public void setNodeType(String NodeType) {
this.NodeType = NodeType;
}
/**
* Get UID of the super node
* @return NodeUniqueID UID of the super node
*/
public String getNodeUniqueID() {
return this.NodeUniqueID;
}
/**
* Set UID of the super node
* @param NodeUniqueID UID of the super node
*/
public void setNodeUniqueID(String NodeUniqueID) {
this.NodeUniqueID = NodeUniqueID;
}
/**
* Get Number of CPU cores used by the pod
* @return PodCpu Number of CPU cores used by the pod
*/
public Long getPodCpu() {
return this.PodCpu;
}
/**
* Set Number of CPU cores used by the pod
* @param PodCpu Number of CPU cores used by the pod
*/
public void setPodCpu(Long PodCpu) {
this.PodCpu = PodCpu;
}
/**
* Get Memory specification of the Pod
* @return PodMem Memory specification of the Pod
*/
public Long getPodMem() {
return this.PodMem;
}
/**
* Set Memory specification of the Pod
* @param PodMem Memory specification of the Pod
*/
public void setPodMem(Long PodMem) {
this.PodMem = PodMem;
}
/**
* Get
* @return ClusterName
*/
public String getClusterName() {
return this.ClusterName;
}
/**
* Set
* @param ClusterName
*/
public void setClusterName(String ClusterName) {
this.ClusterName = ClusterName;
}
/**
* Get
* @return ClusterID
*/
public String getClusterID() {
return this.ClusterID;
}
/**
* Set
* @param ClusterID
*/
public void setClusterID(String ClusterID) {
this.ClusterID = ClusterID;
}
/**
* Get
* @return PodUid
*/
public String getPodUid() {
return this.PodUid;
}
/**
* Set
* @param PodUid
*/
public void setPodUid(String PodUid) {
this.PodUid = PodUid;
}
public ContainerInfo() {
}
/**
* 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 ContainerInfo(ContainerInfo source) {
if (source.ContainerID != null) {
this.ContainerID = new String(source.ContainerID);
}
if (source.ContainerName != null) {
this.ContainerName = new String(source.ContainerName);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.CreateTime != null) {
this.CreateTime = new String(source.CreateTime);
}
if (source.RunAs != null) {
this.RunAs = new String(source.RunAs);
}
if (source.Cmd != null) {
this.Cmd = new String(source.Cmd);
}
if (source.CPUUsage != null) {
this.CPUUsage = new Long(source.CPUUsage);
}
if (source.RamUsage != null) {
this.RamUsage = new Long(source.RamUsage);
}
if (source.ImageName != null) {
this.ImageName = new String(source.ImageName);
}
if (source.ImageID != null) {
this.ImageID = new String(source.ImageID);
}
if (source.POD != null) {
this.POD = new String(source.POD);
}
if (source.HostID != null) {
this.HostID = new String(source.HostID);
}
if (source.HostIP != null) {
this.HostIP = new String(source.HostIP);
}
if (source.UpdateTime != null) {
this.UpdateTime = new String(source.UpdateTime);
}
if (source.HostName != null) {
this.HostName = new String(source.HostName);
}
if (source.PublicIp != null) {
this.PublicIp = new String(source.PublicIp);
}
if (source.NetStatus != null) {
this.NetStatus = new String(source.NetStatus);
}
if (source.NetSubStatus != null) {
this.NetSubStatus = new String(source.NetSubStatus);
}
if (source.IsolateSource != null) {
this.IsolateSource = new String(source.IsolateSource);
}
if (source.IsolateTime != null) {
this.IsolateTime = new String(source.IsolateTime);
}
if (source.NodeID != null) {
this.NodeID = new String(source.NodeID);
}
if (source.PodIP != null) {
this.PodIP = new String(source.PodIP);
}
if (source.PodName != null) {
this.PodName = new String(source.PodName);
}
if (source.NodeType != null) {
this.NodeType = new String(source.NodeType);
}
if (source.NodeUniqueID != null) {
this.NodeUniqueID = new String(source.NodeUniqueID);
}
if (source.PodCpu != null) {
this.PodCpu = new Long(source.PodCpu);
}
if (source.PodMem != null) {
this.PodMem = new Long(source.PodMem);
}
if (source.ClusterName != null) {
this.ClusterName = new String(source.ClusterName);
}
if (source.ClusterID != null) {
this.ClusterID = new String(source.ClusterID);
}
if (source.PodUid != null) {
this.PodUid = new String(source.PodUid);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ContainerID", this.ContainerID);
this.setParamSimple(map, prefix + "ContainerName", this.ContainerName);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "CreateTime", this.CreateTime);
this.setParamSimple(map, prefix + "RunAs", this.RunAs);
this.setParamSimple(map, prefix + "Cmd", this.Cmd);
this.setParamSimple(map, prefix + "CPUUsage", this.CPUUsage);
this.setParamSimple(map, prefix + "RamUsage", this.RamUsage);
this.setParamSimple(map, prefix + "ImageName", this.ImageName);
this.setParamSimple(map, prefix + "ImageID", this.ImageID);
this.setParamSimple(map, prefix + "POD", this.POD);
this.setParamSimple(map, prefix + "HostID", this.HostID);
this.setParamSimple(map, prefix + "HostIP", this.HostIP);
this.setParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
this.setParamSimple(map, prefix + "HostName", this.HostName);
this.setParamSimple(map, prefix + "PublicIp", this.PublicIp);
this.setParamSimple(map, prefix + "NetStatus", this.NetStatus);
this.setParamSimple(map, prefix + "NetSubStatus", this.NetSubStatus);
this.setParamSimple(map, prefix + "IsolateSource", this.IsolateSource);
this.setParamSimple(map, prefix + "IsolateTime", this.IsolateTime);
this.setParamSimple(map, prefix + "NodeID", this.NodeID);
this.setParamSimple(map, prefix + "PodIP", this.PodIP);
this.setParamSimple(map, prefix + "PodName", this.PodName);
this.setParamSimple(map, prefix + "NodeType", this.NodeType);
this.setParamSimple(map, prefix + "NodeUniqueID", this.NodeUniqueID);
this.setParamSimple(map, prefix + "PodCpu", this.PodCpu);
this.setParamSimple(map, prefix + "PodMem", this.PodMem);
this.setParamSimple(map, prefix + "ClusterName", this.ClusterName);
this.setParamSimple(map, prefix + "ClusterID", this.ClusterID);
this.setParamSimple(map, prefix + "PodUid", this.PodUid);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy