@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricsSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about summary metrics in an account.
| Constructor and Description |
|---|
MetricsSummary() |
| Modifier and Type | Method and Description |
|---|---|
MetricsSummary |
clone() |
boolean |
equals(Object obj) |
List<CategoryWithFindingNum> |
getCategoriesWithMostFindings()
A list of
CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account. |
Date |
getDate()
The date from which the metrics summary information was retrieved.
|
FindingMetricsValuePerSeverity |
getOpenFindings()
The number of open findings of each severity in an account.
|
List<ScanNameWithFindingNum> |
getScansWithMostOpenCriticalFindings()
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings
in an account. |
List<ScanNameWithFindingNum> |
getScansWithMostOpenFindings()
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical
findings in an account. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCategoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings)
A list of
CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account. |
void |
setDate(Date date)
The date from which the metrics summary information was retrieved.
|
void |
setOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account.
|
void |
setScansWithMostOpenCriticalFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings)
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings
in an account. |
void |
setScansWithMostOpenFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings)
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical
findings in an account. |
String |
toString()
Returns a string representation of this object.
|
MetricsSummary |
withCategoriesWithMostFindings(CategoryWithFindingNum... categoriesWithMostFindings)
A list of
CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account. |
MetricsSummary |
withCategoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings)
A list of
CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account. |
MetricsSummary |
withDate(Date date)
The date from which the metrics summary information was retrieved.
|
MetricsSummary |
withOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account.
|
MetricsSummary |
withScansWithMostOpenCriticalFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings)
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings
in an account. |
MetricsSummary |
withScansWithMostOpenCriticalFindings(ScanNameWithFindingNum... scansWithMostOpenCriticalFindings)
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings
in an account. |
MetricsSummary |
withScansWithMostOpenFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings)
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical
findings in an account. |
MetricsSummary |
withScansWithMostOpenFindings(ScanNameWithFindingNum... scansWithMostOpenFindings)
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical
findings in an account. |
public List<CategoryWithFindingNum> getCategoriesWithMostFindings()
A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.
CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.public void setCategoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings)
A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.
categoriesWithMostFindings - A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.public MetricsSummary withCategoriesWithMostFindings(CategoryWithFindingNum... categoriesWithMostFindings)
A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.
NOTE: This method appends the values to the existing list (if any). Use
setCategoriesWithMostFindings(java.util.Collection) or
withCategoriesWithMostFindings(java.util.Collection) if you want to override the existing values.
categoriesWithMostFindings - A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.public MetricsSummary withCategoriesWithMostFindings(Collection<CategoryWithFindingNum> categoriesWithMostFindings)
A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.
categoriesWithMostFindings - A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.public void setDate(Date date)
The date from which the metrics summary information was retrieved.
date - The date from which the metrics summary information was retrieved.public Date getDate()
The date from which the metrics summary information was retrieved.
public MetricsSummary withDate(Date date)
The date from which the metrics summary information was retrieved.
date - The date from which the metrics summary information was retrieved.public void setOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account.
openFindings - The number of open findings of each severity in an account.public FindingMetricsValuePerSeverity getOpenFindings()
The number of open findings of each severity in an account.
public MetricsSummary withOpenFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account.
openFindings - The number of open findings of each severity in an account.public List<ScanNameWithFindingNum> getScansWithMostOpenCriticalFindings()
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings
in an account.
ScanNameWithFindingNum objects for the top 3 scans with the most number of open
findings in an account.public void setScansWithMostOpenCriticalFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings)
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings
in an account.
scansWithMostOpenCriticalFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
findings in an account.public MetricsSummary withScansWithMostOpenCriticalFindings(ScanNameWithFindingNum... scansWithMostOpenCriticalFindings)
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings
in an account.
NOTE: This method appends the values to the existing list (if any). Use
setScansWithMostOpenCriticalFindings(java.util.Collection) or
withScansWithMostOpenCriticalFindings(java.util.Collection) if you want to override the existing values.
scansWithMostOpenCriticalFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
findings in an account.public MetricsSummary withScansWithMostOpenCriticalFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings)
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings
in an account.
scansWithMostOpenCriticalFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
findings in an account.public List<ScanNameWithFindingNum> getScansWithMostOpenFindings()
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical
findings in an account.
ScanNameWithFindingNum objects for the top 3 scans with the most number of open
critical findings in an account.public void setScansWithMostOpenFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings)
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical
findings in an account.
scansWithMostOpenFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
critical findings in an account.public MetricsSummary withScansWithMostOpenFindings(ScanNameWithFindingNum... scansWithMostOpenFindings)
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical
findings in an account.
NOTE: This method appends the values to the existing list (if any). Use
setScansWithMostOpenFindings(java.util.Collection) or
withScansWithMostOpenFindings(java.util.Collection) if you want to override the existing values.
scansWithMostOpenFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
critical findings in an account.public MetricsSummary withScansWithMostOpenFindings(Collection<ScanNameWithFindingNum> scansWithMostOpenFindings)
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical
findings in an account.
scansWithMostOpenFindings - A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open
critical findings in an account.public String toString()
toString in class ObjectObject.toString()public MetricsSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.