com.nutanix.dp1.sec.security.v4.report.VulnerabilitySummary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of security-java-client Show documentation
Show all versions of security-java-client Show documentation
Manage security features, such as encryption, certificates, or platform hardening.
The newest version!
/*
* Generated file ..
*
* Product version: 4.0.1-beta-1
*
* Part of the Nutanix Security APIs
*
* (c) 2024 Nutanix Inc. All rights reserved
*
*/
package com.nutanix.dp1.sec.security.v4.report;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.AccessLevel;
import com.nutanix.devplatform.models.PrettyModeViews.*;
import com.fasterxml.jackson.annotation.JsonView;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.stream.Collectors;
import com.nutanix.dp1.sec.deserializers.SecObjectTypeTypedObject;
import javax.validation.constraints.*;
import java.util.ArrayList;
import java.util.List;
import static com.nutanix.dp1.sec.deserializers.SecDeserializerUtils.*;
/**
* Cluster vulnerability report
*/
@EqualsAndHashCode(callSuper=true)
@Data
@lombok.extern.slf4j.Slf4j
public class VulnerabilitySummary extends com.nutanix.dp1.sec.common.v1.response.ExternalizableAbstractModel implements java.io.Serializable, SecObjectTypeTypedObject {
public VulnerabilitySummary() {
super();
}
@lombok.Builder(builderMethodName = "VulnerabilitySummaryBuilder")
public VulnerabilitySummary(String tenantId, String extId, java.util.List links, String clusterExtId, String installedVersion, java.util.List cveIds, com.nutanix.dp1.sec.security.v4.report.SoftwareType softwareType) {
super(tenantId, extId, links);
this.setClusterExtId(clusterExtId);
this.setInstalledVersion(installedVersion);
this.setCveIds(cveIds);
this.setSoftwareType(softwareType);
}
@Override
protected String initialize$objectType() {
return "security.v4.report.VulnerabilitySummary";
}
@Override
protected String initialize$fv() {
return "v4.r0.b1";
}
@javax.validation.constraints.Pattern(regexp="^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$")
private String clusterExtId = null;
/**
* UUID for the cluster.
*/
public void setClusterExtId(String clusterExtId) {
if (this.clusterExtId == null) {
this.clusterExtId = clusterExtId;
}
else {
log.warn("Read-only property clusterExtId already contains a non-null value and cannot be set again");
}
}
@javax.validation.constraints.Size(max = 199)
private String installedVersion = null;
/**
* AOS version on that cluster
*/
public void setInstalledVersion(String installedVersion) {
if (this.installedVersion == null) {
this.installedVersion = installedVersion;
}
else {
log.warn("Read-only property installedVersion already contains a non-null value and cannot be set again");
}
}
@javax.validation.constraints.Size(min = 0, max = 1024)
private List cveIds = null;
/**
* The CVE ids associated with this CESA
*/
public void setCveIds(List cveIds) {
if (this.cveIds == null) {
this.cveIds = cveIds;
}
else {
log.warn("Read-only property cveIds already contains a non-null value and cannot be set again");
}
}
/**
*
*/
@JsonProperty("softwareType")
public com.nutanix.dp1.sec.security.v4.report.SoftwareType softwareType = null;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy