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