Class Severity
- All Implemented Interfaces:
 Serializable,SdkPojo,ToCopyableBuilder<Severity.Builder,Severity> 
The severity of the finding.
 The finding provider can provide the initial severity. The finding provider can only update the severity if it hasn't
 been updated using BatchUpdateFindings.
 
 The finding must have either Label or Normalized populated. If only one of these attributes
 is populated, then Security Hub automatically populates the other one. If neither attribute is populated, then the
 finding is invalid. Label is the preferred attribute.
 
- See Also:
 
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionstatic Severity.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final SeverityLabellabel()The severity value of the finding.final StringThe severity value of the finding.final IntegerDeprecated.final Stringoriginal()The native severity from the finding product that generated the finding.final Doubleproduct()Deprecated.static Class<? extends Severity.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy 
- 
Method Details
- 
product
Deprecated. This attribute is being deprecated. Instead of providing
Product, provideOriginal.The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
- Returns:
 - Deprecated. This attribute is being deprecated. Instead of providing 
Product, provideOriginal.The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
 
 - 
label
The severity value of the finding. The allowed values are the following.
- 
 
INFORMATIONAL- No issue was found. - 
 
LOW- The issue does not require action on its own. - 
 
MEDIUM- The issue must be addressed but not urgently. - 
 
HIGH- The issue must be addressed as a priority. - 
 
CRITICAL- The issue must be remediated immediately to avoid it escalating. 
If you provide
Normalizedand do not provideLabel, thenLabelis set automatically as follows.- 
 
0 -
INFORMATIONAL - 
 
1–39 -
LOW - 
 
40–69 -
MEDIUM - 
 
70–89 -
HIGH - 
 
90–100 -
CRITICAL 
If the service returns an enum value that is not available in the current SDK version,
labelwill returnSeverityLabel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlabelAsString().- Returns:
 - The severity value of the finding. The allowed values are the following.
         
- 
         
INFORMATIONAL- No issue was found. - 
         
LOW- The issue does not require action on its own. - 
         
MEDIUM- The issue must be addressed but not urgently. - 
         
HIGH- The issue must be addressed as a priority. - 
         
CRITICAL- The issue must be remediated immediately to avoid it escalating. 
If you provide
Normalizedand do not provideLabel, thenLabelis set automatically as follows.- 
         
0 -
INFORMATIONAL - 
         
1–39 -
LOW - 
         
40–69 -
MEDIUM - 
         
70–89 -
HIGH - 
         
90–100 -
CRITICAL 
 - 
         
 - See Also:
 
 - 
 
 - 
labelAsString
The severity value of the finding. The allowed values are the following.
- 
 
INFORMATIONAL- No issue was found. - 
 
LOW- The issue does not require action on its own. - 
 
MEDIUM- The issue must be addressed but not urgently. - 
 
HIGH- The issue must be addressed as a priority. - 
 
CRITICAL- The issue must be remediated immediately to avoid it escalating. 
If you provide
Normalizedand do not provideLabel, thenLabelis set automatically as follows.- 
 
0 -
INFORMATIONAL - 
 
1–39 -
LOW - 
 
40–69 -
MEDIUM - 
 
70–89 -
HIGH - 
 
90–100 -
CRITICAL 
If the service returns an enum value that is not available in the current SDK version,
labelwill returnSeverityLabel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlabelAsString().- Returns:
 - The severity value of the finding. The allowed values are the following.
         
- 
         
INFORMATIONAL- No issue was found. - 
         
LOW- The issue does not require action on its own. - 
         
MEDIUM- The issue must be addressed but not urgently. - 
         
HIGH- The issue must be addressed as a priority. - 
         
CRITICAL- The issue must be remediated immediately to avoid it escalating. 
If you provide
Normalizedand do not provideLabel, thenLabelis set automatically as follows.- 
         
0 -
INFORMATIONAL - 
         
1–39 -
LOW - 
         
40–69 -
MEDIUM - 
         
70–89 -
HIGH - 
         
90–100 -
CRITICAL 
 - 
         
 - See Also:
 
 - 
 
 - 
normalized
Deprecated. The normalized severity of a finding. This attribute is being deprecated. Instead of providing
Normalized, provideLabel.If you provide
Labeland do not provideNormalized, thenNormalizedis set automatically as follows.- 
 
INFORMATIONAL- 0 - 
 
LOW- 1 - 
 
MEDIUM- 40 - 
 
HIGH- 70 - 
 
CRITICAL- 90 
- Returns:
 - Deprecated. The normalized severity of a finding. This attribute is being deprecated. Instead of
         providing 
Normalized, provideLabel.If you provide
Labeland do not provideNormalized, thenNormalizedis set automatically as follows.- 
         
INFORMATIONAL- 0 - 
         
LOW- 1 - 
         
MEDIUM- 40 - 
         
HIGH- 70 - 
         
CRITICAL- 90 
 - 
         
 
 - 
 
 - 
original
The native severity from the finding product that generated the finding.
- Returns:
 - The native severity from the finding product that generated the finding.
 
 - 
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToCopyableBuilder<Severity.Builder,Severity> - Returns:
 - a builder for type T
 
 - 
builder
 - 
serializableBuilderClass
 - 
hashCode
public final int hashCode() - 
equals
 - 
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
 equalsBySdkFieldsin interfaceSdkPojo- Parameters:
 obj- the object to be compared with- Returns:
 - true if the other object equals to this object by sdk fields, false otherwise.
 
 - 
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. - 
getValueForField
 - 
sdkFields
 
 -