@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FindingStatistics extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about finding statistics.
| Constructor and Description |
|---|
FindingStatistics() |
| Modifier and Type | Method and Description |
|---|---|
FindingStatistics |
addCountBySeverityEntry(String key,
Integer value)
Add a single CountBySeverity entry
|
FindingStatistics |
clearCountBySeverityEntries()
Removes all the entries added into CountBySeverity.
|
FindingStatistics |
clone() |
boolean |
equals(Object obj) |
Map<String,Integer> |
getCountBySeverity()
Represents a map of severity to count statistics for a set of findings.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCountBySeverity(Map<String,Integer> countBySeverity)
Represents a map of severity to count statistics for a set of findings.
|
String |
toString()
Returns a string representation of this object.
|
FindingStatistics |
withCountBySeverity(Map<String,Integer> countBySeverity)
Represents a map of severity to count statistics for a set of findings.
|
public Map<String,Integer> getCountBySeverity()
Represents a map of severity to count statistics for a set of findings.
public void setCountBySeverity(Map<String,Integer> countBySeverity)
Represents a map of severity to count statistics for a set of findings.
countBySeverity - Represents a map of severity to count statistics for a set of findings.public FindingStatistics withCountBySeverity(Map<String,Integer> countBySeverity)
Represents a map of severity to count statistics for a set of findings.
countBySeverity - Represents a map of severity to count statistics for a set of findings.public FindingStatistics addCountBySeverityEntry(String key, Integer value)
public FindingStatistics clearCountBySeverityEntries()
public String toString()
toString in class ObjectObject.toString()public FindingStatistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.