@Generated(value="software.amazon.awssdk:codegen") public final class DefaultDetection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DefaultDetection.Builder,DefaultDetection>
Provides information about a type of sensitive data that was detected by a managed data identifier and produced a sensitive data finding.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DefaultDetection.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DefaultDetection.Builder |
builder() |
Long |
count()
The total number of occurrences of the type of sensitive data that was detected.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Occurrences |
occurrences()
The location of 1-15 occurrences of the sensitive data that was detected.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DefaultDetection.Builder> |
serializableBuilderClass() |
DefaultDetection.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of sensitive data that was detected.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long count()
The total number of occurrences of the type of sensitive data that was detected.
public final Occurrences occurrences()
The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
public final String type()
The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
public DefaultDetection.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DefaultDetection.Builder,DefaultDetection>public static DefaultDetection.Builder builder()
public static Class<? extends DefaultDetection.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.