Class CustomDetection
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.CustomDetection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomDetection.Builder,CustomDetection>
@Generated("software.amazon.awssdk:codegen") public final class CustomDetection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomDetection.Builder,CustomDetection>
Provides information about a custom data identifier that produced a sensitive data finding, and the sensitive data that it detected for the finding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomDetection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The unique identifier for the custom data identifier.static CustomDetection.Builderbuilder()Longcount()The total number of occurrences of the sensitive data that the custom data identifier detected.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the custom data identifier.Occurrencesoccurrences()The location of 1-15 occurrences of the sensitive data that the custom data identifier detected.List<SdkField<?>>sdkFields()static Class<? extends CustomDetection.Builder>serializableBuilderClass()CustomDetection.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The unique identifier for the custom data identifier.
- Returns:
- The unique identifier for the custom data identifier.
-
count
public final Long count()
The total number of occurrences of the sensitive data that the custom data identifier detected.
- Returns:
- The total number of occurrences of the sensitive data that the custom data identifier detected.
-
name
public final String name()
The name of the custom data identifier.
- Returns:
- The name of the custom data identifier.
-
occurrences
public final Occurrences occurrences()
The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
- Returns:
- The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
-
toBuilder
public CustomDetection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomDetection.Builder,CustomDetection>
-
builder
public static CustomDetection.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomDetection.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-