com.aliyun.ens20171110.models.RunServiceScheduleResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ens20171110.models;
import com.aliyun.tea.*;
public class RunServiceScheduleResponseBody extends TeaModel {
/**
* The execution results of the commands.
*/
@NameInMap("CommandResults")
public RunServiceScheduleResponseBodyCommandResults commandResults;
/**
* The index number of the scheduled virtual device (pod).
*
* example:
* 1
*/
@NameInMap("Index")
public Integer index;
/**
* The ID of the scheduled instance.
*
* example:
* i-5qvji3mom4ec013dyygmtxlkj
*/
@NameInMap("InstanceId")
public String instanceId;
/**
* The IP address of the scheduled instance.
*
* example:
* 172.16.246.11
*/
@NameInMap("InstanceIp")
public String instanceIp;
/**
* The start port of the scheduled instance.
*
* example:
* 1024
*/
@NameInMap("InstancePort")
public Integer instancePort;
/**
* The ID of the request.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request is repeated. This parameter is not returned if ServcieAction is set to Console.
*
* example:
* false
*/
@NameInMap("RequestRepeated")
public String 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 Boolean tcpPorts;
public static RunServiceScheduleResponseBody build(java.util.Map map) throws Exception {
RunServiceScheduleResponseBody self = new RunServiceScheduleResponseBody();
return TeaModel.build(map, self);
}
public RunServiceScheduleResponseBody setCommandResults(RunServiceScheduleResponseBodyCommandResults commandResults) {
this.commandResults = commandResults;
return this;
}
public RunServiceScheduleResponseBodyCommandResults getCommandResults() {
return this.commandResults;
}
public RunServiceScheduleResponseBody setIndex(Integer index) {
this.index = index;
return this;
}
public Integer getIndex() {
return this.index;
}
public RunServiceScheduleResponseBody setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public RunServiceScheduleResponseBody setInstanceIp(String instanceIp) {
this.instanceIp = instanceIp;
return this;
}
public String getInstanceIp() {
return this.instanceIp;
}
public RunServiceScheduleResponseBody setInstancePort(Integer instancePort) {
this.instancePort = instancePort;
return this;
}
public Integer getInstancePort() {
return this.instancePort;
}
public RunServiceScheduleResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public RunServiceScheduleResponseBody setRequestRepeated(String requestRepeated) {
this.requestRepeated = requestRepeated;
return this;
}
public String getRequestRepeated() {
return this.requestRepeated;
}
public RunServiceScheduleResponseBody setTcpPorts(Boolean tcpPorts) {
this.tcpPorts = tcpPorts;
return this;
}
public Boolean getTcpPorts() {
return this.tcpPorts;
}
public static class RunServiceScheduleResponseBodyCommandResultsCommandResult extends TeaModel {
/**
* The command.
*
* example:
* ls -l /data
*/
@NameInMap("Command")
public String command;
/**
* The name of the container.
*
* example:
* android
*/
@NameInMap("ContainerName")
public String containerName;
/**
* The execution result of the command.
*
* example:
* success
*/
@NameInMap("ResultMsg")
public String resultMsg;
public static RunServiceScheduleResponseBodyCommandResultsCommandResult build(java.util.Map map) throws Exception {
RunServiceScheduleResponseBodyCommandResultsCommandResult self = new RunServiceScheduleResponseBodyCommandResultsCommandResult();
return TeaModel.build(map, self);
}
public RunServiceScheduleResponseBodyCommandResultsCommandResult setCommand(String command) {
this.command = command;
return this;
}
public String getCommand() {
return this.command;
}
public RunServiceScheduleResponseBodyCommandResultsCommandResult setContainerName(String containerName) {
this.containerName = containerName;
return this;
}
public String getContainerName() {
return this.containerName;
}
public RunServiceScheduleResponseBodyCommandResultsCommandResult setResultMsg(String resultMsg) {
this.resultMsg = resultMsg;
return this;
}
public String getResultMsg() {
return this.resultMsg;
}
}
public static class RunServiceScheduleResponseBodyCommandResults extends TeaModel {
@NameInMap("CommandResult")
public java.util.List commandResult;
public static RunServiceScheduleResponseBodyCommandResults build(java.util.Map map) throws Exception {
RunServiceScheduleResponseBodyCommandResults self = new RunServiceScheduleResponseBodyCommandResults();
return TeaModel.build(map, self);
}
public RunServiceScheduleResponseBodyCommandResults setCommandResult(java.util.List commandResult) {
this.commandResult = commandResult;
return this;
}
public java.util.List getCommandResult() {
return this.commandResult;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy