@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CvssScoreDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about the CVSS 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 adjustment Amazon Inspector made to the CVSS score.
|
Double |
getScore()
The CVSS score.
|
String |
getScoreSource()
The source for the CVSS score.
|
String |
getScoringVector()
The vector for the CVSS score.
|
String |
getVersion()
The CVSS version used in scoring.
|
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 adjustment Amazon Inspector made to the CVSS score.
|
void |
setScore(Double score)
The CVSS score.
|
void |
setScoreSource(String scoreSource)
The source for the CVSS score.
|
void |
setScoringVector(String scoringVector)
The vector for the CVSS score.
|
void |
setVersion(String version)
The CVSS version used in scoring.
|
String |
toString()
Returns a string representation of this object.
|
CvssScoreDetails |
withAdjustments(Collection<CvssScoreAdjustment> adjustments)
An object that contains details about adjustment Amazon Inspector made to the CVSS score.
|
CvssScoreDetails |
withAdjustments(CvssScoreAdjustment... adjustments)
An object that contains details about adjustment Amazon Inspector made to the CVSS score.
|
CvssScoreDetails |
withScore(Double score)
The CVSS score.
|
CvssScoreDetails |
withScoreSource(String scoreSource)
The source for the CVSS score.
|
CvssScoreDetails |
withScoringVector(String scoringVector)
The vector for the CVSS score.
|
CvssScoreDetails |
withVersion(String version)
The CVSS version used in scoring.
|
public List<CvssScoreAdjustment> getAdjustments()
An object that contains details about adjustment Amazon Inspector made to the CVSS score.
public void setAdjustments(Collection<CvssScoreAdjustment> adjustments)
An object that contains details about adjustment Amazon Inspector made to the CVSS score.
adjustments
- An object that contains details about adjustment Amazon Inspector made to the CVSS score.public CvssScoreDetails withAdjustments(CvssScoreAdjustment... adjustments)
An object that contains details about adjustment Amazon Inspector made to the CVSS score.
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 adjustment Amazon Inspector made to the CVSS score.public CvssScoreDetails withAdjustments(Collection<CvssScoreAdjustment> adjustments)
An object that contains details about adjustment Amazon Inspector made to the CVSS score.
adjustments
- An object that contains details about adjustment Amazon Inspector made to the CVSS 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 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 setScoringVector(String scoringVector)
The vector for the CVSS score.
scoringVector
- The vector for the CVSS score.public String getScoringVector()
The vector for the CVSS score.
public CvssScoreDetails withScoringVector(String scoringVector)
The vector for the CVSS score.
scoringVector
- The vector for the CVSS score.public void setVersion(String version)
The CVSS version used in scoring.
version
- The CVSS version used in scoring.public String getVersion()
The CVSS version used in scoring.
public CvssScoreDetails withVersion(String version)
The CVSS version used in scoring.
version
- The CVSS version used in scoring.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.