@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cvss2 extends Object implements Serializable, Cloneable, StructuredPojo
The Common Vulnerability Scoring System (CVSS) version 2 details for the vulnerability.
| Constructor and Description |
|---|
Cvss2() |
| Modifier and Type | Method and Description |
|---|---|
Cvss2 |
clone() |
boolean |
equals(Object obj) |
Double |
getBaseScore()
The CVSS v2 base score for the vulnerability.
|
String |
getScoringVector()
The scoring vector associated with the CVSS v2 score.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBaseScore(Double baseScore)
The CVSS v2 base score for the vulnerability.
|
void |
setScoringVector(String scoringVector)
The scoring vector associated with the CVSS v2 score.
|
String |
toString()
Returns a string representation of this object.
|
Cvss2 |
withBaseScore(Double baseScore)
The CVSS v2 base score for the vulnerability.
|
Cvss2 |
withScoringVector(String scoringVector)
The scoring vector associated with the CVSS v2 score.
|
public void setBaseScore(Double baseScore)
The CVSS v2 base score for the vulnerability.
baseScore - The CVSS v2 base score for the vulnerability.public Double getBaseScore()
The CVSS v2 base score for the vulnerability.
public Cvss2 withBaseScore(Double baseScore)
The CVSS v2 base score for the vulnerability.
baseScore - The CVSS v2 base score for the vulnerability.public void setScoringVector(String scoringVector)
The scoring vector associated with the CVSS v2 score.
scoringVector - The scoring vector associated with the CVSS v2 score.public String getScoringVector()
The scoring vector associated with the CVSS v2 score.
public Cvss2 withScoringVector(String scoringVector)
The scoring vector associated with the CVSS v2 score.
scoringVector - The scoring vector associated with the CVSS v2 score.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.