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