@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FindingMetricsValuePerSeverity extends Object implements Serializable, Cloneable, StructuredPojo
The severity of the issue in the code that generated a finding.
Constructor and Description |
---|
FindingMetricsValuePerSeverity() |
Modifier and Type | Method and Description |
---|---|
FindingMetricsValuePerSeverity |
clone() |
boolean |
equals(Object obj) |
Double |
getCritical()
The severity of the finding is critical and should be addressed immediately.
|
Double |
getHigh()
The severity of the finding is high and should be addressed as a near-term priority.
|
Double |
getInfo()
The finding is related to quality or readability improvements and not considered actionable.
|
Double |
getLow()
The severity of the finding is low and does require action on its own.
|
Double |
getMedium()
The severity of the finding is medium and should be addressed as a mid-term priority.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCritical(Double critical)
The severity of the finding is critical and should be addressed immediately.
|
void |
setHigh(Double high)
The severity of the finding is high and should be addressed as a near-term priority.
|
void |
setInfo(Double info)
The finding is related to quality or readability improvements and not considered actionable.
|
void |
setLow(Double low)
The severity of the finding is low and does require action on its own.
|
void |
setMedium(Double medium)
The severity of the finding is medium and should be addressed as a mid-term priority.
|
String |
toString()
Returns a string representation of this object.
|
FindingMetricsValuePerSeverity |
withCritical(Double critical)
The severity of the finding is critical and should be addressed immediately.
|
FindingMetricsValuePerSeverity |
withHigh(Double high)
The severity of the finding is high and should be addressed as a near-term priority.
|
FindingMetricsValuePerSeverity |
withInfo(Double info)
The finding is related to quality or readability improvements and not considered actionable.
|
FindingMetricsValuePerSeverity |
withLow(Double low)
The severity of the finding is low and does require action on its own.
|
FindingMetricsValuePerSeverity |
withMedium(Double medium)
The severity of the finding is medium and should be addressed as a mid-term priority.
|
public void setCritical(Double critical)
The severity of the finding is critical and should be addressed immediately.
critical
- The severity of the finding is critical and should be addressed immediately.public Double getCritical()
The severity of the finding is critical and should be addressed immediately.
public FindingMetricsValuePerSeverity withCritical(Double critical)
The severity of the finding is critical and should be addressed immediately.
critical
- The severity of the finding is critical and should be addressed immediately.public void setHigh(Double high)
The severity of the finding is high and should be addressed as a near-term priority.
high
- The severity of the finding is high and should be addressed as a near-term priority.public Double getHigh()
The severity of the finding is high and should be addressed as a near-term priority.
public FindingMetricsValuePerSeverity withHigh(Double high)
The severity of the finding is high and should be addressed as a near-term priority.
high
- The severity of the finding is high and should be addressed as a near-term priority.public void setInfo(Double info)
The finding is related to quality or readability improvements and not considered actionable.
info
- The finding is related to quality or readability improvements and not considered actionable.public Double getInfo()
The finding is related to quality or readability improvements and not considered actionable.
public FindingMetricsValuePerSeverity withInfo(Double info)
The finding is related to quality or readability improvements and not considered actionable.
info
- The finding is related to quality or readability improvements and not considered actionable.public void setLow(Double low)
The severity of the finding is low and does require action on its own.
low
- The severity of the finding is low and does require action on its own.public Double getLow()
The severity of the finding is low and does require action on its own.
public FindingMetricsValuePerSeverity withLow(Double low)
The severity of the finding is low and does require action on its own.
low
- The severity of the finding is low and does require action on its own.public void setMedium(Double medium)
The severity of the finding is medium and should be addressed as a mid-term priority.
medium
- The severity of the finding is medium and should be addressed as a mid-term priority.public Double getMedium()
The severity of the finding is medium and should be addressed as a mid-term priority.
public FindingMetricsValuePerSeverity withMedium(Double medium)
The severity of the finding is medium and should be addressed as a mid-term priority.
medium
- The severity of the finding is medium and should be addressed as a mid-term priority.public String toString()
toString
in class Object
Object.toString()
public FindingMetricsValuePerSeverity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.