@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CvssScoreAdjustment extends Object implements Serializable, Cloneable, StructuredPojo
Details about an adjustment that Amazon Inspector made to the CVSS score for a finding.
Constructor and Description |
---|
CvssScoreAdjustment() |
Modifier and Type | Method and Description |
---|---|
CvssScoreAdjustment |
clone() |
boolean |
equals(Object obj) |
String |
getMetric()
The metric that Amazon Inspector used to adjust the CVSS score.
|
String |
getReason()
The reason for the CVSS score adjustment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMetric(String metric)
The metric that Amazon Inspector used to adjust the CVSS score.
|
void |
setReason(String reason)
The reason for the CVSS score adjustment.
|
String |
toString()
Returns a string representation of this object.
|
CvssScoreAdjustment |
withMetric(String metric)
The metric that Amazon Inspector used to adjust the CVSS score.
|
CvssScoreAdjustment |
withReason(String reason)
The reason for the CVSS score adjustment.
|
public void setMetric(String metric)
The metric that Amazon Inspector used to adjust the CVSS score.
metric
- The metric that Amazon Inspector used to adjust the CVSS score.public String getMetric()
The metric that Amazon Inspector used to adjust the CVSS score.
public CvssScoreAdjustment withMetric(String metric)
The metric that Amazon Inspector used to adjust the CVSS score.
metric
- The metric that Amazon Inspector used to adjust the CVSS score.public void setReason(String reason)
The reason for the CVSS score adjustment.
reason
- The reason for the CVSS score adjustment.public String getReason()
The reason for the CVSS score adjustment.
public CvssScoreAdjustment withReason(String reason)
The reason for the CVSS score adjustment.
reason
- The reason for the CVSS score adjustment.public String toString()
toString
in class Object
Object.toString()
public CvssScoreAdjustment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.