Class SeverityCounts
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.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>
Includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified filter.
- 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 number of findings across all severity levels for the specified filter.static SeverityCounts.Builderbuilder()Longcritical()The number of critical severity findings for the specified filter.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Longhigh()The number of high severity findings for the specified filter.Longmedium()The number of medium severity findings for the specified filter.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 number of findings across all severity levels for the specified filter.
- Returns:
- The total number of findings across all severity levels for the specified filter.
-
critical
public final Long critical()
The number of critical severity findings for the specified filter.
- Returns:
- The number of critical severity findings for the specified filter.
-
high
public final Long high()
The number of high severity findings for the specified filter.
- Returns:
- The number of high severity findings for the specified filter.
-
medium
public final Long medium()
The number of medium severity findings for the specified filter.
- Returns:
- The number of medium severity findings for the specified filter.
-
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.
-
-