com.aliyun.cs20151215.models.DeleteClusterNodesRequest 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 DeleteClusterNodesRequest extends TeaModel {
/**
* Specifies whether to remove all pods from the nodes that you want to remove. Valid values:
*
* true
: removes all pods from the nodes that you want to remove.
* false
: does not remove pods from the nodes that you want to remove.
*
* Default value: false
.
*
* example:
* true
*/
@NameInMap("drain_node")
public Boolean drainNode;
/**
* The list of nodes to be removed. You need to specify the name of the nodes used in the cluster, for example, cn-hangzhou.192.168.0.70
.
* This parameter is required.
*/
@NameInMap("nodes")
public java.util.List nodes;
/**
* Specifies whether to release the Elastic Compute Service (ECS) instances. Valid values:
*
* true
: releases the ECS instances.
* false
: does not release the ECS instances.
*
* Default value: false
.
*
* You cannot release subscription ECS instances.
*
*
* example:
* true
*/
@NameInMap("release_node")
public Boolean releaseNode;
public static DeleteClusterNodesRequest build(java.util.Map map) throws Exception {
DeleteClusterNodesRequest self = new DeleteClusterNodesRequest();
return TeaModel.build(map, self);
}
public DeleteClusterNodesRequest setDrainNode(Boolean drainNode) {
this.drainNode = drainNode;
return this;
}
public Boolean getDrainNode() {
return this.drainNode;
}
public DeleteClusterNodesRequest setNodes(java.util.List nodes) {
this.nodes = nodes;
return this;
}
public java.util.List getNodes() {
return this.nodes;
}
public DeleteClusterNodesRequest setReleaseNode(Boolean releaseNode) {
this.releaseNode = releaseNode;
return this;
}
public Boolean getReleaseNode() {
return this.releaseNode;
}
}