@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SeverityCounts extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains the counts of aggregated finding per severity.
Constructor and Description |
---|
SeverityCounts() |
Modifier and Type | Method and Description |
---|---|
SeverityCounts |
clone() |
boolean |
equals(Object obj) |
Long |
getAll()
The total count of findings from all severities.
|
Long |
getCritical()
The total count of critical severity findings.
|
Long |
getHigh()
The total count of high severity findings.
|
Long |
getMedium()
The total count of medium severity findings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAll(Long all)
The total count of findings from all severities.
|
void |
setCritical(Long critical)
The total count of critical severity findings.
|
void |
setHigh(Long high)
The total count of high severity findings.
|
void |
setMedium(Long medium)
The total count of medium severity findings.
|
String |
toString()
Returns a string representation of this object.
|
SeverityCounts |
withAll(Long all)
The total count of findings from all severities.
|
SeverityCounts |
withCritical(Long critical)
The total count of critical severity findings.
|
SeverityCounts |
withHigh(Long high)
The total count of high severity findings.
|
SeverityCounts |
withMedium(Long medium)
The total count of medium severity findings.
|
public void setAll(Long all)
The total count of findings from all severities.
all
- The total count of findings from all severities.public Long getAll()
The total count of findings from all severities.
public SeverityCounts withAll(Long all)
The total count of findings from all severities.
all
- The total count of findings from all severities.public void setCritical(Long critical)
The total count of critical severity findings.
critical
- The total count of critical severity findings.public Long getCritical()
The total count of critical severity findings.
public SeverityCounts withCritical(Long critical)
The total count of critical severity findings.
critical
- The total count of critical severity findings.public void setHigh(Long high)
The total count of high severity findings.
high
- The total count of high severity findings.public Long getHigh()
The total count of high severity findings.
public SeverityCounts withHigh(Long high)
The total count of high severity findings.
high
- The total count of high severity findings.public void setMedium(Long medium)
The total count of medium severity findings.
medium
- The total count of medium severity findings.public Long getMedium()
The total count of medium severity findings.
public SeverityCounts withMedium(Long medium)
The total count of medium severity findings.
medium
- The total count of medium severity findings.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.