@Generated(value="software.amazon.awssdk:codegen") public final class SeverityLevel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SeverityLevel.Builder,SeverityLevel>
Specifies a severity level for findings that a custom data identifier produces. A severity level determines which severity is assigned to the findings, based on the number of occurrences of text that match the custom data identifier's detection criteria.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SeverityLevel.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SeverityLevel.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SeverityLevel.Builder> |
serializableBuilderClass() |
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.
|
String |
severityAsString()
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.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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).
public final 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.
If the service returns an enum value that is not available in the current SDK version, severity will
return DataIdentifierSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from severityAsString().
DataIdentifierSeveritypublic final String severityAsString()
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.
If the service returns an enum value that is not available in the current SDK version, severity will
return DataIdentifierSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from severityAsString().
DataIdentifierSeveritypublic SeverityLevel.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SeverityLevel.Builder,SeverityLevel>public static SeverityLevel.Builder builder()
public static Class<? extends SeverityLevel.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.