Interface Severity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Severity.Builder,Severity>,SdkBuilder<Severity.Builder,Severity>,SdkPojo
- Enclosing class:
- Severity
public static interface Severity.Builder extends SdkPojo, CopyableBuilder<Severity.Builder,Severity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Severity.Builderlabel(String label)The severity value of the finding.Severity.Builderlabel(SeverityLabel label)The severity value of the finding.Severity.Buildernormalized(Integer normalized)Deprecated.Severity.Builderoriginal(String original)The native severity from the finding product that generated the finding.Severity.Builderproduct(Double product)Deprecated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
product
Severity.Builder product(Double product)
Deprecated. This attribute isn't included in findings. Instead of providing
Product, provideOriginal.The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
- Parameters:
product- Deprecated. This attribute isn't included in findings. Instead of providingProduct, provideOriginal.The native severity as defined by the Amazon Web Services service or integrated partner product that generated the finding.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
Severity.Builder label(String 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 don't provideLabel, thenLabelis set automatically as follows.-
0 -
INFORMATIONAL -
1–39 -
LOW -
40–69 -
MEDIUM -
70–89 -
HIGH -
90–100 -
CRITICAL
- Parameters:
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 don't provideLabel, thenLabelis set automatically as follows.-
0 -
INFORMATIONAL -
1–39 -
LOW -
40–69 -
MEDIUM -
70–89 -
HIGH -
90–100 -
CRITICAL
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SeverityLabel,SeverityLabel
-
-
label
Severity.Builder label(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 you provide
Normalizedand don't provideLabel, thenLabelis set automatically as follows.-
0 -
INFORMATIONAL -
1–39 -
LOW -
40–69 -
MEDIUM -
70–89 -
HIGH -
90–100 -
CRITICAL
- Parameters:
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 don't provideLabel, thenLabelis set automatically as follows.-
0 -
INFORMATIONAL -
1–39 -
LOW -
40–69 -
MEDIUM -
70–89 -
HIGH -
90–100 -
CRITICAL
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SeverityLabel,SeverityLabel
-
-
normalized
Severity.Builder normalized(Integer normalized)
Deprecated. The normalized severity of a finding. Instead of providing
Normalized, provideLabel.The value of
Normalizedcan be an integer between0and100.If you provide
Labeland don't provideNormalized, thenNormalizedis set automatically as follows.-
INFORMATIONAL- 0 -
LOW- 1 -
MEDIUM- 40 -
HIGH- 70 -
CRITICAL- 90
- Parameters:
normalized- Deprecated. The normalized severity of a finding. Instead of providingNormalized, provideLabel.The value of
Normalizedcan be an integer between0and100.If you provide
Labeland don't provideNormalized, thenNormalizedis set automatically as follows.-
INFORMATIONAL- 0 -
LOW- 1 -
MEDIUM- 40 -
HIGH- 70 -
CRITICAL- 90
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
original
Severity.Builder original(String original)
The native severity from the finding product that generated the finding.
Length Constraints: Minimum length of 1. Maximum length of 64.
- Parameters:
original- The native severity from the finding product that generated the finding.Length Constraints: Minimum length of 1. Maximum length of 64.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-