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

com.aliyun.sdk.service.cs20151215.models.DescribeNodePoolVulsResponseBody 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 DescribeNodePoolVulsResponseBody} extends {@link TeaModel}
 *
 * 

DescribeNodePoolVulsResponseBody

*/ public class DescribeNodePoolVulsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("vul_records") private java.util.List < VulRecords> vulRecords; @com.aliyun.core.annotation.NameInMap("vuls_fix_service_purchased") private Boolean vulsFixServicePurchased; private DescribeNodePoolVulsResponseBody(Builder builder) { this.vulRecords = builder.vulRecords; this.vulsFixServicePurchased = builder.vulsFixServicePurchased; } public static Builder builder() { return new Builder(); } public static DescribeNodePoolVulsResponseBody create() { return builder().build(); } /** * @return vulRecords */ public java.util.List < VulRecords> getVulRecords() { return this.vulRecords; } /** * @return vulsFixServicePurchased */ public Boolean getVulsFixServicePurchased() { return this.vulsFixServicePurchased; } public static final class Builder { private java.util.List < VulRecords> vulRecords; private Boolean vulsFixServicePurchased; /** * The node pool vulnerabilities. */ public Builder vulRecords(java.util.List < VulRecords> vulRecords) { this.vulRecords = vulRecords; return this; } /** * vuls_fix_service_purchased. */ public Builder vulsFixServicePurchased(Boolean vulsFixServicePurchased) { this.vulsFixServicePurchased = vulsFixServicePurchased; return this; } public DescribeNodePoolVulsResponseBody build() { return new DescribeNodePoolVulsResponseBody(this); } } public static class VulList extends TeaModel { @com.aliyun.core.annotation.NameInMap("alias_name") private String aliasName; @com.aliyun.core.annotation.NameInMap("cve_list") private java.util.List < String > cveList; @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("necessity") private String necessity; @com.aliyun.core.annotation.NameInMap("need_reboot") private Boolean needReboot; private VulList(Builder builder) { this.aliasName = builder.aliasName; this.cveList = builder.cveList; this.name = builder.name; this.necessity = builder.necessity; this.needReboot = builder.needReboot; } public static Builder builder() { return new Builder(); } public static VulList create() { return builder().build(); } /** * @return aliasName */ public String getAliasName() { return this.aliasName; } /** * @return cveList */ public java.util.List < String > getCveList() { return this.cveList; } /** * @return name */ public String getName() { return this.name; } /** * @return necessity */ public String getNecessity() { return this.necessity; } /** * @return needReboot */ public Boolean getNeedReboot() { return this.needReboot; } public static final class Builder { private String aliasName; private java.util.List < String > cveList; private String name; private String necessity; private Boolean needReboot; /** * The alias of the vulnerability. */ public Builder aliasName(String aliasName) { this.aliasName = aliasName; return this; } /** * A list of CVE names corresponding to the vulnerabilities. */ public Builder cveList(java.util.List < String > cveList) { this.cveList = cveList; return this; } /** * The name of the vulnerability. */ public Builder name(String name) { this.name = name; return this; } /** * The severity level of the vulnerability. *

* * Valid values: * * * nntf: You can ignore the vulnerability. * * later: You can fix the vulnerability later. * * asap: You need to fix the vulnerability at the earliest opportunity. */ public Builder necessity(String necessity) { this.necessity = necessity; return this; } /** * Indicates whether a restart is required. */ public Builder needReboot(Boolean needReboot) { this.needReboot = needReboot; return this; } public VulList build() { return new VulList(this); } } } public static class VulRecords extends TeaModel { @com.aliyun.core.annotation.NameInMap("instance_id") private String instanceId; @com.aliyun.core.annotation.NameInMap("node_name") private String nodeName; @com.aliyun.core.annotation.NameInMap("vul_list") private java.util.List < VulList> vulList; private VulRecords(Builder builder) { this.instanceId = builder.instanceId; this.nodeName = builder.nodeName; this.vulList = builder.vulList; } public static Builder builder() { return new Builder(); } public static VulRecords create() { return builder().build(); } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return nodeName */ public String getNodeName() { return this.nodeName; } /** * @return vulList */ public java.util.List < VulList> getVulList() { return this.vulList; } public static final class Builder { private String instanceId; private String nodeName; private java.util.List < VulList> vulList; /** * The ID of the node. */ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** * The node name. This name is the identifier of the node in the cluster. */ public Builder nodeName(String nodeName) { this.nodeName = nodeName; return this; } /** * A list of vulnerabilities. */ public Builder vulList(java.util.List < VulList> vulList) { this.vulList = vulList; return this; } public VulRecords build() { return new VulRecords(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy