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

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

There is a newer version: 2.0.29
Show newest version
// 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 DescribeNodePoolVulsRequest} extends {@link RequestModel}
 *
 * 

DescribeNodePoolVulsRequest

*/ public class DescribeNodePoolVulsRequest extends Request { @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("cluster_id") @com.aliyun.core.annotation.Validation(required = true) private String clusterId; @com.aliyun.core.annotation.Path @com.aliyun.core.annotation.NameInMap("nodepool_id") @com.aliyun.core.annotation.Validation(required = true) private String nodepoolId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("necessity") private String necessity; private DescribeNodePoolVulsRequest(Builder builder) { super(builder); this.clusterId = builder.clusterId; this.nodepoolId = builder.nodepoolId; this.necessity = builder.necessity; } public static Builder builder() { return new Builder(); } public static DescribeNodePoolVulsRequest 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 necessity */ public String getNecessity() { return this.necessity; } public static final class Builder extends Request.Builder { private String clusterId; private String nodepoolId; private String necessity; private Builder() { super(); } private Builder(DescribeNodePoolVulsRequest request) { super(request); this.clusterId = request.clusterId; this.nodepoolId = request.nodepoolId; this.necessity = request.necessity; } /** * cluster_id. */ public Builder clusterId(String clusterId) { this.putPathParameter("cluster_id", clusterId); this.clusterId = clusterId; return this; } /** * nodepool_id. */ public Builder nodepoolId(String nodepoolId) { this.putPathParameter("nodepool_id", nodepoolId); this.nodepoolId = nodepoolId; return this; } /** * The priority to fix the vulnerability. Separate multiple priorities with commas (,). Valid values: *

* * * `asap`: high * * `later`: medium * * `nntf`: low */ public Builder necessity(String necessity) { this.putQueryParameter("necessity", necessity); this.necessity = necessity; return this; } @Override public DescribeNodePoolVulsRequest build() { return new DescribeNodePoolVulsRequest(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy