@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Cvss extends Object implements Serializable, Cloneable, StructuredPojo
CVSS scores from the advisory related to the vulnerability.
Constructor and Description |
---|
Cvss() |
Modifier and Type | Method and Description |
---|---|
Cvss |
clone() |
boolean |
equals(Object obj) |
Double |
getBaseScore()
The base CVSS score.
|
String |
getBaseVector()
The base scoring vector for the CVSS score.
|
String |
getVersion()
The version of CVSS for the CVSS score.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBaseScore(Double baseScore)
The base CVSS score.
|
void |
setBaseVector(String baseVector)
The base scoring vector for the CVSS score.
|
void |
setVersion(String version)
The version of CVSS for the CVSS score.
|
String |
toString()
Returns a string representation of this object.
|
Cvss |
withBaseScore(Double baseScore)
The base CVSS score.
|
Cvss |
withBaseVector(String baseVector)
The base scoring vector for the CVSS score.
|
Cvss |
withVersion(String version)
The version of CVSS for the CVSS score.
|
public void setVersion(String version)
The version of CVSS for the CVSS score.
version
- The version of CVSS for the CVSS score.public String getVersion()
The version of CVSS for the CVSS score.
public Cvss withVersion(String version)
The version of CVSS for the CVSS score.
version
- The version of CVSS for the CVSS score.public void setBaseScore(Double baseScore)
The base CVSS score.
baseScore
- The base CVSS score.public Double getBaseScore()
The base CVSS score.
public Cvss withBaseScore(Double baseScore)
The base CVSS score.
baseScore
- The base CVSS score.public void setBaseVector(String baseVector)
The base scoring vector for the CVSS score.
baseVector
- The base scoring vector for the CVSS score.public String getBaseVector()
The base scoring vector for the CVSS score.
public Cvss withBaseVector(String baseVector)
The base scoring vector for the CVSS score.
baseVector
- The base scoring vector for 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.