Interface SeverityLevel.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SeverityLevel.Builder,SeverityLevel>,SdkBuilder<SeverityLevel.Builder,SeverityLevel>,SdkPojo
- Enclosing class:
- SeverityLevel
public static interface SeverityLevel.Builder extends SdkPojo, CopyableBuilder<SeverityLevel.Builder,SeverityLevel>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SeverityLevel.BuilderoccurrencesThreshold(Long occurrencesThreshold)The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).SeverityLevel.Builderseverity(String severity)The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.SeverityLevel.Builderseverity(DataIdentifierSeverity severity)The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.-
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, sdkFields
-
-
-
-
Method Detail
-
occurrencesThreshold
SeverityLevel.Builder occurrencesThreshold(Long occurrencesThreshold)
The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).
- Parameters:
occurrencesThreshold- The minimum number of occurrences of text that must match the custom data identifier's detection criteria in order to produce a finding with the specified severity (severity).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
SeverityLevel.Builder severity(String severity)
The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.
- Parameters:
severity- The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataIdentifierSeverity,DataIdentifierSeverity
-
severity
SeverityLevel.Builder severity(DataIdentifierSeverity severity)
The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.
- Parameters:
severity- The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataIdentifierSeverity,DataIdentifierSeverity
-
-