Class SeverityUpdate
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.SeverityUpdate
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SeverityUpdate.Builder,SeverityUpdate>
@Generated("software.amazon.awssdk:codegen") public final class SeverityUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SeverityUpdate.Builder,SeverityUpdate>
Updates to the severity information for a finding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSeverityUpdate.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SeverityUpdate.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SeverityLabellabel()The severity value of the finding.StringlabelAsString()The severity value of the finding.Integernormalized()The normalized severity for the finding.Doubleproduct()The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.List<SdkField<?>>sdkFields()static Class<? extends SeverityUpdate.Builder>serializableBuilderClass()SeverityUpdate.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
-
normalized
public final Integer normalized()
The normalized severity for the finding. This attribute is to be deprecated in favor of
Label.If you provide
Normalizedand do not provideLabel,Labelis set automatically as follows.-
0 -
INFORMATIONAL -
1–39 -
LOW -
40–69 -
MEDIUM -
70–89 -
HIGH -
90–100 -
CRITICAL
- Returns:
- The normalized severity for the finding. This attribute is to be deprecated in favor of
Label.If you provide
Normalizedand do not provideLabel,Labelis set automatically as follows.-
0 -
INFORMATIONAL -
1–39 -
LOW -
40–69 -
MEDIUM -
70–89 -
HIGH -
90–100 -
CRITICAL
-
-
-
product
public final Double product()
The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
- Returns:
- The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
-
label
public final SeverityLabel 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 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.
-
- See Also:
SeverityLabel
-
-
labelAsString
public final String 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 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.
-
- See Also:
SeverityLabel
-
-
toBuilder
public SeverityUpdate.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SeverityUpdate.Builder,SeverityUpdate>
-
builder
public static SeverityUpdate.Builder builder()
-
serializableBuilderClass
public static Class<? extends SeverityUpdate.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.
-
-