com.aliyun.cs20151215.models.AttachInstancesResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cs20151215 Show documentation
Show all versions of cs20151215 Show documentation
Alibaba Cloud CS (20151215) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;
import com.aliyun.tea.*;
public class AttachInstancesResponseBody extends TeaModel {
/**
* The details of the added nodes.
*/
@NameInMap("list")
public java.util.List list;
/**
* The task ID.
*
* example:
* T-5a544aff80282e39ea000039
*/
@NameInMap("task_id")
public String taskId;
public static AttachInstancesResponseBody build(java.util.Map map) throws Exception {
AttachInstancesResponseBody self = new AttachInstancesResponseBody();
return TeaModel.build(map, self);
}
public AttachInstancesResponseBody setList(java.util.List list) {
this.list = list;
return this;
}
public java.util.List getList() {
return this.list;
}
public AttachInstancesResponseBody setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
public static class AttachInstancesResponseBodyList extends TeaModel {
/**
* The code that indicates the task result.
*
* example:
* 200
*/
@NameInMap("code")
public String code;
/**
* The ID of the ECS instance.
*
* example:
* i-2ze0lgm3y6iylcbt****
*/
@NameInMap("instanceId")
public String instanceId;
/**
* Indicates whether the ECS instance is successfully added to the ACK cluster.
*
* example:
* successful
*/
@NameInMap("message")
public String message;
public static AttachInstancesResponseBodyList build(java.util.Map map) throws Exception {
AttachInstancesResponseBodyList self = new AttachInstancesResponseBodyList();
return TeaModel.build(map, self);
}
public AttachInstancesResponseBodyList setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public AttachInstancesResponseBodyList setInstanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
public String getInstanceId() {
return this.instanceId;
}
public AttachInstancesResponseBodyList setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
}
}