@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SeverityCounts extends Object implements Serializable, Cloneable, StructuredPojo
Includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified filter.
Constructor and Description |
---|
SeverityCounts() |
Modifier and Type | Method and Description |
---|---|
SeverityCounts |
clone() |
boolean |
equals(Object obj) |
Long |
getAll()
The total number of findings across all severity levels for the specified filter.
|
Long |
getCritical()
The number of critical severity findings for the specified filter.
|
Long |
getHigh()
The number of high severity findings for the specified filter.
|
Long |
getMedium()
The number of medium severity findings for the specified filter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAll(Long all)
The total number of findings across all severity levels for the specified filter.
|
void |
setCritical(Long critical)
The number of critical severity findings for the specified filter.
|
void |
setHigh(Long high)
The number of high severity findings for the specified filter.
|
void |
setMedium(Long medium)
The number of medium severity findings for the specified filter.
|
String |
toString()
Returns a string representation of this object.
|
SeverityCounts |
withAll(Long all)
The total number of findings across all severity levels for the specified filter.
|
SeverityCounts |
withCritical(Long critical)
The number of critical severity findings for the specified filter.
|
SeverityCounts |
withHigh(Long high)
The number of high severity findings for the specified filter.
|
SeverityCounts |
withMedium(Long medium)
The number of medium severity findings for the specified filter.
|
public void setAll(Long all)
The total number of findings across all severity levels for the specified filter.
all
- The total number of findings across all severity levels for the specified filter.public Long getAll()
The total number of findings across all severity levels for the specified filter.
public SeverityCounts withAll(Long all)
The total number of findings across all severity levels for the specified filter.
all
- The total number of findings across all severity levels for the specified filter.public void setCritical(Long critical)
The number of critical severity findings for the specified filter.
critical
- The number of critical severity findings for the specified filter.public Long getCritical()
The number of critical severity findings for the specified filter.
public SeverityCounts withCritical(Long critical)
The number of critical severity findings for the specified filter.
critical
- The number of critical severity findings for the specified filter.public void setHigh(Long high)
The number of high severity findings for the specified filter.
high
- The number of high severity findings for the specified filter.public Long getHigh()
The number of high severity findings for the specified filter.
public SeverityCounts withHigh(Long high)
The number of high severity findings for the specified filter.
high
- The number of high severity findings for the specified filter.public void setMedium(Long medium)
The number of medium severity findings for the specified filter.
medium
- The number of medium severity findings for the specified filter.public Long getMedium()
The number of medium severity findings for the specified filter.
public SeverityCounts withMedium(Long medium)
The number of medium severity findings for the specified filter.
medium
- The number of medium severity findings for the specified filter.public String toString()
toString
in class Object
Object.toString()
public SeverityCounts clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.