com.aliyun.ens20171110.models.DescribeServcieScheduleResponseBody Maven / Gradle / Ivy
Show all versions of ens20171110 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class DescribeServcieScheduleResponseBody extends TeaModel {
/**
* The index number of the scheduled virtual device (pod).
*
* example:
* 2
*/
@NameInMap("Index")
public Integer index;
/**
* The ID of the scheduled instance.
*
* example:
* i-5myukg7hnpbto7m024002****
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* The ID of the scheduled instance.
*
* example:
* 120.26.XX.XX
*/
@NameInMap("InstanceIp")
public String instanceIp;
/**
* The start port of the scheduled instance.
*
* example:
* 3306
*/
@NameInMap("InstancePort")
public Integer instancePort;
/**
* The summary information about the scheduled virtual device.
*/
@NameInMap("PodAbstractInfo")
public DescribeServcieScheduleResponseBodyPodAbstractInfo podAbstractInfo;
/**
* The ID of the request.
*
* example:
* CEF72CEB-54B6-4AE8-B225-F876FF7BA984
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request is repeated.
*
* example:
* false
*/
@NameInMap("RequestRepeated")
public Boolean requestRepeated;
/**
* The TCP port range of the scheduled instance or container. The value is in the ${from}-$-{to} format. Example: 80-88.
*
* example:
* 80-88
*/
@NameInMap("TcpPorts")
public String tcpPorts;
public static DescribeServcieScheduleResponseBody build(java.util.Map map) throws Exception {
DescribeServcieScheduleResponseBody self = new DescribeServcieScheduleResponseBody();
return TeaModel.build(map, self);
}
public DescribeServcieScheduleResponseBody setIndex(Integer index) {
this.index = index;
return this;
}
public Integer getIndex() {
return this.index;
}
public DescribeServcieScheduleResponseBody setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public DescribeServcieScheduleResponseBody setInstanceIp(String instanceIp) {
this.instanceIp = instanceIp;
return this;
}
public String getInstanceIp() {
return this.instanceIp;
}
public DescribeServcieScheduleResponseBody setInstancePort(Integer instancePort) {
this.instancePort = instancePort;
return this;
}
public Integer getInstancePort() {
return this.instancePort;
}
public DescribeServcieScheduleResponseBody setPodAbstractInfo(DescribeServcieScheduleResponseBodyPodAbstractInfo podAbstractInfo) {
this.podAbstractInfo = podAbstractInfo;
return this;
}
public DescribeServcieScheduleResponseBodyPodAbstractInfo getPodAbstractInfo() {
return this.podAbstractInfo;
}
public DescribeServcieScheduleResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribeServcieScheduleResponseBody setRequestRepeated(Boolean requestRepeated) {
this.requestRepeated = requestRepeated;
return this;
}
public Boolean getRequestRepeated() {
return this.requestRepeated;
}
public DescribeServcieScheduleResponseBody setTcpPorts(String tcpPorts) {
this.tcpPorts = tcpPorts;
return this;
}
public String getTcpPorts() {
return this.tcpPorts;
}
public static class DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatusesContainerStatus extends TeaModel {
/**
* The ID of the container.
*
* example:
* container_e79_1638372147094_158091_02_000001
*/
@NameInMap("ContainerId")
public String containerId;
/**
* The name of the container.
*
* example:
* nginx
*/
@NameInMap("Name")
public String name;
public static DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatusesContainerStatus build(java.util.Map map) throws Exception {
DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatusesContainerStatus self = new DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatusesContainerStatus();
return TeaModel.build(map, self);
}
public DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatusesContainerStatus setContainerId(String containerId) {
this.containerId = containerId;
return this;
}
public String getContainerId() {
return this.containerId;
}
public DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatusesContainerStatus setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
}
public static class DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatuses extends TeaModel {
@NameInMap("ContainerStatus")
public java.util.List containerStatus;
public static DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatuses build(java.util.Map map) throws Exception {
DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatuses self = new DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatuses();
return TeaModel.build(map, self);
}
public DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatuses setContainerStatus(java.util.List containerStatus) {
this.containerStatus = containerStatus;
return this;
}
public java.util.List getContainerStatus() {
return this.containerStatus;
}
}
public static class DescribeServcieScheduleResponseBodyPodAbstractInfo extends TeaModel {
/**
* The name of the container service.
*
* example:
* android
*/
@NameInMap("ContainerService")
public Boolean containerService;
/**
* The information about the container.
*/
@NameInMap("ContainerStatuses")
public DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatuses containerStatuses;
/**
* The name of the pod.
*
* example:
* gcs-prod-websocket-eip-telecom
*/
@NameInMap("Name")
public Boolean name;
/**
* The name of the namespace.
*
* example:
* default-aliyun
*/
@NameInMap("Namespace")
public Boolean namespace;
/**
* The pod scope.
*
* example:
* FDN
*/
@NameInMap("ResourceScope")
public Boolean resourceScope;
/**
* The status of the pod.
*
* example:
* RUNNING
*/
@NameInMap("Status")
public Boolean status;
public static DescribeServcieScheduleResponseBodyPodAbstractInfo build(java.util.Map map) throws Exception {
DescribeServcieScheduleResponseBodyPodAbstractInfo self = new DescribeServcieScheduleResponseBodyPodAbstractInfo();
return TeaModel.build(map, self);
}
public DescribeServcieScheduleResponseBodyPodAbstractInfo setContainerService(Boolean containerService) {
this.containerService = containerService;
return this;
}
public Boolean getContainerService() {
return this.containerService;
}
public DescribeServcieScheduleResponseBodyPodAbstractInfo setContainerStatuses(DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatuses containerStatuses) {
this.containerStatuses = containerStatuses;
return this;
}
public DescribeServcieScheduleResponseBodyPodAbstractInfoContainerStatuses getContainerStatuses() {
return this.containerStatuses;
}
public DescribeServcieScheduleResponseBodyPodAbstractInfo setName(Boolean name) {
this.name = name;
return this;
}
public Boolean getName() {
return this.name;
}
public DescribeServcieScheduleResponseBodyPodAbstractInfo setNamespace(Boolean namespace) {
this.namespace = namespace;
return this;
}
public Boolean getNamespace() {
return this.namespace;
}
public DescribeServcieScheduleResponseBodyPodAbstractInfo setResourceScope(Boolean resourceScope) {
this.resourceScope = resourceScope;
return this;
}
public Boolean getResourceScope() {
return this.resourceScope;
}
public DescribeServcieScheduleResponseBodyPodAbstractInfo setStatus(Boolean status) {
this.status = status;
return this;
}
public Boolean getStatus() {
return this.status;
}
}
}