@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CvssScoreDetails extends Object implements Serializable, Cloneable, StructuredPojo
Details about the source of the score, and the factors that determined the adjustments to create the final score.
Constructor and Description |
---|
CvssScoreDetails() |
Modifier and Type | Method and Description |
---|---|
CvssScoreDetails |
clone() |
boolean |
equals(Object obj) |
List<CvssScoreAdjustment> |
getAdjustments()
An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
|
String |
getCvssSource()
The source of the finding.
|
Double |
getScore()
The CVSS score.
|
String |
getScoreSource()
The source for the CVSS score.
|
String |
getScoringVector()
A vector that measures the severity of the vulnerability.
|
String |
getVersion()
The CVSS version that generated the score.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdjustments(Collection<CvssScoreAdjustment> adjustments)
An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
|
void |
setCvssSource(String cvssSource)
The source of the finding.
|
void |
setScore(Double score)
The CVSS score.
|
void |
setScoreSource(String scoreSource)
The source for the CVSS score.
|
void |
setScoringVector(String scoringVector)
A vector that measures the severity of the vulnerability.
|
void |
setVersion(String version)
The CVSS version that generated the score.
|
String |
toString()
Returns a string representation of this object.
|
CvssScoreDetails |
withAdjustments(Collection<CvssScoreAdjustment> adjustments)
An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
|
CvssScoreDetails |
withAdjustments(CvssScoreAdjustment... adjustments)
An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
|
CvssScoreDetails |
withCvssSource(String cvssSource)
The source of the finding.
|
CvssScoreDetails |
withScore(Double score)
The CVSS score.
|
CvssScoreDetails |
withScoreSource(String scoreSource)
The source for the CVSS score.
|
CvssScoreDetails |
withScoringVector(String scoringVector)
A vector that measures the severity of the vulnerability.
|
CvssScoreDetails |
withVersion(String version)
The CVSS version that generated the score.
|
public void setScoreSource(String scoreSource)
The source for the CVSS score.
scoreSource
- The source for the CVSS score.public String getScoreSource()
The source for the CVSS score.
public CvssScoreDetails withScoreSource(String scoreSource)
The source for the CVSS score.
scoreSource
- The source for the CVSS score.public void setCvssSource(String cvssSource)
The source of the finding.
cvssSource
- The source of the finding.public String getCvssSource()
The source of the finding.
public CvssScoreDetails withCvssSource(String cvssSource)
The source of the finding.
cvssSource
- The source of the finding.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 CvssScoreDetails withVersion(String version)
The CVSS version that generated the score.
version
- The CVSS version that generated the score.public void setScore(Double score)
The CVSS score.
score
- The CVSS score.public Double getScore()
The CVSS score.
public CvssScoreDetails withScore(Double score)
The CVSS score.
score
- The CVSS score.public void setScoringVector(String scoringVector)
A vector that measures the severity of the vulnerability.
scoringVector
- A vector that measures the severity of the vulnerability.public String getScoringVector()
A vector that measures the severity of the vulnerability.
public CvssScoreDetails withScoringVector(String scoringVector)
A vector that measures the severity of the vulnerability.
scoringVector
- A vector that measures the severity of the vulnerability.public List<CvssScoreAdjustment> getAdjustments()
An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
public void setAdjustments(Collection<CvssScoreAdjustment> adjustments)
An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
adjustments
- An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the
finding.public CvssScoreDetails withAdjustments(CvssScoreAdjustment... adjustments)
An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
NOTE: This method appends the values to the existing list (if any). Use
setAdjustments(java.util.Collection)
or withAdjustments(java.util.Collection)
if you want to
override the existing values.
adjustments
- An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the
finding.public CvssScoreDetails withAdjustments(Collection<CvssScoreAdjustment> adjustments)
An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the finding.
adjustments
- An object that contains details about an adjustment that Amazon Inspector made to the CVSS score for the
finding.public String toString()
toString
in class Object
Object.toString()
public CvssScoreDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.