@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CvssScore extends Object implements Serializable, Cloneable, StructuredPojo
Amazon Inspector generates a risk score for each finding. This score helps you to prioritize findings, to focus on the most critical findings and the most vulnerable resources. The score uses the Common Vulnerability Scoring System (CVSS) format. This format is a modification of the base CVSS score that the National Vulnerability Database (NVD) provides. For more information about severity levels, see Severity levels for Amazon Inspector findings in the Amazon Inspector User Guide.
Constructor and Description |
---|
CvssScore() |
Modifier and Type | Method and Description |
---|---|
CvssScore |
clone() |
boolean |
equals(Object obj) |
Double |
getBaseScore()
The CVSS base score.
|
String |
getScoringVector()
The vector string of the CVSS score.
|
String |
getSource()
The source of the CVSS score.
|
String |
getVersion()
The CVSS version that generated the score.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBaseScore(Double baseScore)
The CVSS base score.
|
void |
setScoringVector(String scoringVector)
The vector string of the CVSS score.
|
void |
setSource(String source)
The source of the CVSS score.
|
void |
setVersion(String version)
The CVSS version that generated the score.
|
String |
toString()
Returns a string representation of this object.
|
CvssScore |
withBaseScore(Double baseScore)
The CVSS base score.
|
CvssScore |
withScoringVector(String scoringVector)
The vector string of the CVSS score.
|
CvssScore |
withSource(String source)
The source of the CVSS score.
|
CvssScore |
withVersion(String version)
The CVSS version that generated the score.
|
public void setBaseScore(Double baseScore)
The CVSS base score.
baseScore
- The CVSS base score.public Double getBaseScore()
The CVSS base score.
public CvssScore withBaseScore(Double baseScore)
The CVSS base score.
baseScore
- The CVSS base score.public void setScoringVector(String scoringVector)
The vector string of the CVSS score.
scoringVector
- The vector string of the CVSS score.public String getScoringVector()
The vector string of the CVSS score.
public CvssScore withScoringVector(String scoringVector)
The vector string of the CVSS score.
scoringVector
- The vector string of the CVSS score.public void setVersion(String version)
The CVSS version that generated the score.
version
- The CVSS version that generated the score.public String getVersion()
The CVSS version that generated the score.
public CvssScore withVersion(String version)
The CVSS version that generated the score.
version
- The CVSS version that generated the score.public void setSource(String source)
The source of the CVSS score.
source
- The source of the CVSS score.public String getSource()
The source of the CVSS score.
public CvssScore withSource(String source)
The source of the CVSS score.
source
- The source of the CVSS score.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.