Class SeverityUpdate
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SeverityUpdate.Builder,
SeverityUpdate>
Updates to the severity information for a finding.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SeverityUpdate.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final SeverityLabel
label()
The severity value of the finding.final String
The severity value of the finding.final Integer
The normalized severity for the finding.final Double
product()
The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.static Class
<? extends SeverityUpdate.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
normalized
The normalized severity for the finding. This attribute is to be deprecated in favor of
Label
.If you provide
Normalized
and don't provideLabel
,Label
is 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
Normalized
and don't provideLabel
,Label
is set automatically as follows.-
0 -
INFORMATIONAL
-
1–39 -
LOW
-
40–69 -
MEDIUM
-
70–89 -
HIGH
-
90–100 -
CRITICAL
-
-
-
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
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,
label
will 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:
-
-
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,
label
will 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:
-
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<SeverityUpdate.Builder,
SeverityUpdate> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-