@Generated(value="software.amazon.awssdk:codegen") public final class MetricsSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricsSummary.Builder,MetricsSummary>
Information about summary metrics in an account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MetricsSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MetricsSummary.Builder |
builder() |
List<CategoryWithFindingNum> |
categoriesWithMostFindings()
A list of
CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account. |
Instant |
date()
The date from which the metrics summary information was retrieved.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCategoriesWithMostFindings()
For responses, this returns true if the service returned a value for the CategoriesWithMostFindings property.
|
int |
hashCode() |
boolean |
hasScansWithMostOpenCriticalFindings()
For responses, this returns true if the service returned a value for the ScansWithMostOpenCriticalFindings
property.
|
boolean |
hasScansWithMostOpenFindings()
For responses, this returns true if the service returned a value for the ScansWithMostOpenFindings property.
|
FindingMetricsValuePerSeverity |
openFindings()
The number of open findings of each severity in an account.
|
List<ScanNameWithFindingNum> |
scansWithMostOpenCriticalFindings()
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings
in an account. |
List<ScanNameWithFindingNum> |
scansWithMostOpenFindings()
A list of
ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical
findings in an account. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MetricsSummary.Builder> |
serializableBuilderClass() |
MetricsSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasCategoriesWithMostFindings()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<CategoryWithFindingNum> categoriesWithMostFindings()
A list of CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasCategoriesWithMostFindings() method.
CategoryWithFindingNum objects for the top 5 finding categories with the most open
findings in an account.public final Instant date()
The date from which the metrics summary information was retrieved.
public final FindingMetricsValuePerSeverity openFindings()
The number of open findings of each severity in an account.
public final boolean hasScansWithMostOpenCriticalFindings()
isEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may
need to differentiate between the service returning nothing (or null) and the service returning an empty
collection or map. For requests, this returns true if a value for the property was specified in the request
builder, and false if a value was not specified.public final List<ScanNameWithFindingNum> scansWithMostOpenCriticalFindings()
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open findings
in an account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasScansWithMostOpenCriticalFindings()
method.
ScanNameWithFindingNum objects for the top 3 scans with the most number of open
findings in an account.public final boolean hasScansWithMostOpenFindings()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<ScanNameWithFindingNum> scansWithMostOpenFindings()
A list of ScanNameWithFindingNum objects for the top 3 scans with the most number of open critical
findings in an account.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasScansWithMostOpenFindings() method.
ScanNameWithFindingNum objects for the top 3 scans with the most number of open
critical findings in an account.public MetricsSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MetricsSummary.Builder,MetricsSummary>public static MetricsSummary.Builder builder()
public static Class<? extends MetricsSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.