All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.cs20151215.models.DeleteClusterNodepoolRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link DeleteClusterNodepoolRequest} extends {@link RequestModel}
 *
 * 

DeleteClusterNodepoolRequest

*/ public class DeleteClusterNodepoolRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("ClusterId") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("NodepoolId") @com.aliyun.core.annotation.Validation(required = true) private String nodepoolId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("force") private Boolean force; private DeleteClusterNodepoolRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.nodepoolId = builder.nodepoolId; this.force = builder.force; } public static Builder builder() { return new Builder(); } public static DeleteClusterNodepoolRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return clusterId */ public String getClusterId() { return this.clusterId; } /** * @return nodepoolId */ public String getNodepoolId() { return this.nodepoolId; } /** * @return force */ public Boolean getForce() { return this.force; } public static final class Builder extends Request.Builder { private String clusterId; private String nodepoolId; private Boolean force; private Builder() { super(); } private Builder(DeleteClusterNodepoolRequest request) { super(request); this.clusterId = request.clusterId; this.nodepoolId = request.nodepoolId; this.force = request.force; } /** * The cluster ID. */ public Builder clusterId(String clusterId) { this.putPathParameter("ClusterId", clusterId); this.clusterId = clusterId; return this; } /** * The node pool ID. */ public Builder nodepoolId(String nodepoolId) { this.putPathParameter("NodepoolId", nodepoolId); this.nodepoolId = nodepoolId; return this; } /** * Specifies whether to forcefully delete the node pool. */ public Builder force(Boolean force) { this.putQueryParameter("force", force); this.force = force; return this; } @Override public DeleteClusterNodepoolRequest build() { return new DeleteClusterNodepoolRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy