Class FindingMetricsValuePerSeverity
- java.lang.Object
-
- software.amazon.awssdk.services.codegurusecurity.model.FindingMetricsValuePerSeverity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FindingMetricsValuePerSeverity.Builder,FindingMetricsValuePerSeverity>
@Generated("software.amazon.awssdk:codegen") public final class FindingMetricsValuePerSeverity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FindingMetricsValuePerSeverity.Builder,FindingMetricsValuePerSeverity>
The severity of the issue in the code that generated a finding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFindingMetricsValuePerSeverity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FindingMetricsValuePerSeverity.Builderbuilder()Doublecritical()The severity of the finding is critical and should be addressed immediately.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Doublehigh()The severity of the finding is high and should be addressed as a near-term priority.Doubleinfo()The finding is related to quality or readability improvements and not considered actionable.Doublelow()The severity of the finding is low and does require action on its own.Doublemedium()The severity of the finding is medium and should be addressed as a mid-term priority.List<SdkField<?>>sdkFields()static Class<? extends FindingMetricsValuePerSeverity.Builder>serializableBuilderClass()FindingMetricsValuePerSeverity.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
-
critical
public final Double critical()
The severity of the finding is critical and should be addressed immediately.
- Returns:
- The severity of the finding is critical and should be addressed immediately.
-
high
public final Double high()
The severity of the finding is high and should be addressed as a near-term priority.
- Returns:
- The severity of the finding is high and should be addressed as a near-term priority.
-
info
public final Double info()
The finding is related to quality or readability improvements and not considered actionable.
- Returns:
- The finding is related to quality or readability improvements and not considered actionable.
-
low
public final Double low()
The severity of the finding is low and does require action on its own.
- Returns:
- The severity of the finding is low and does require action on its own.
-
medium
public final Double medium()
The severity of the finding is medium and should be addressed as a mid-term priority.
- Returns:
- The severity of the finding is medium and should be addressed as a mid-term priority.
-
toBuilder
public FindingMetricsValuePerSeverity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FindingMetricsValuePerSeverity.Builder,FindingMetricsValuePerSeverity>
-
builder
public static FindingMetricsValuePerSeverity.Builder builder()
-
serializableBuilderClass
public static Class<? extends FindingMetricsValuePerSeverity.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.
-
-