Class AccountFindingsMetric
- java.lang.Object
-
- software.amazon.awssdk.services.codegurusecurity.model.AccountFindingsMetric
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AccountFindingsMetric.Builder,AccountFindingsMetric>
@Generated("software.amazon.awssdk:codegen") public final class AccountFindingsMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccountFindingsMetric.Builder,AccountFindingsMetric>
A summary of findings metrics in an account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAccountFindingsMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountFindingsMetric.Builderbuilder()FindingMetricsValuePerSeverityclosedFindings()The number of closed findings of each severity in an account on the specified date.Instantdate()The date from which the finding metrics were retrieved.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()FindingMetricsValuePerSeveritymeanTimeToClose()The average time it takes to close findings of each severity in days.FindingMetricsValuePerSeveritynewFindings()The number of new findings of each severity in account on the specified date.FindingMetricsValuePerSeverityopenFindings()The number of open findings of each severity in an account as of the specified date.List<SdkField<?>>sdkFields()static Class<? extends AccountFindingsMetric.Builder>serializableBuilderClass()AccountFindingsMetric.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
closedFindings
public final FindingMetricsValuePerSeverity closedFindings()
The number of closed findings of each severity in an account on the specified date.
- Returns:
- The number of closed findings of each severity in an account on the specified date.
-
date
public final Instant date()
The date from which the finding metrics were retrieved.
- Returns:
- The date from which the finding metrics were retrieved.
-
meanTimeToClose
public final FindingMetricsValuePerSeverity meanTimeToClose()
The average time it takes to close findings of each severity in days.
- Returns:
- The average time it takes to close findings of each severity in days.
-
newFindings
public final FindingMetricsValuePerSeverity newFindings()
The number of new findings of each severity in account on the specified date.
- Returns:
- The number of new findings of each severity in account on the specified date.
-
openFindings
public final FindingMetricsValuePerSeverity openFindings()
The number of open findings of each severity in an account as of the specified date.
- Returns:
- The number of open findings of each severity in an account as of the specified date.
-
toBuilder
public AccountFindingsMetric.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AccountFindingsMetric.Builder,AccountFindingsMetric>
-
builder
public static AccountFindingsMetric.Builder builder()
-
serializableBuilderClass
public static Class<? extends AccountFindingsMetric.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-