Class SeverityCounts
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.SeverityCounts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SeverityCounts.Builder,SeverityCounts>
@Generated("software.amazon.awssdk:codegen") public final class SeverityCounts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SeverityCounts.Builder,SeverityCounts>
An object that contains the counts of aggregated finding per severity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSeverityCounts.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Longall()The total count of findings from all severities.static SeverityCounts.Builderbuilder()Longcritical()The total count of critical severity findings.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Longhigh()The total count of high severity findings.Longmedium()The total count of medium severity findings.List<SdkField<?>>sdkFields()static Class<? extends SeverityCounts.Builder>serializableBuilderClass()SeverityCounts.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
-
all
public final Long all()
The total count of findings from all severities.
- Returns:
- The total count of findings from all severities.
-
critical
public final Long critical()
The total count of critical severity findings.
- Returns:
- The total count of critical severity findings.
-
high
public final Long high()
The total count of high severity findings.
- Returns:
- The total count of high severity findings.
-
medium
public final Long medium()
The total count of medium severity findings.
- Returns:
- The total count of medium severity findings.
-
toBuilder
public SeverityCounts.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SeverityCounts.Builder,SeverityCounts>
-
builder
public static SeverityCounts.Builder builder()
-
serializableBuilderClass
public static Class<? extends SeverityCounts.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.
-
-