Interface CustomDetection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomDetection.Builder,CustomDetection>,SdkBuilder<CustomDetection.Builder,CustomDetection>,SdkPojo
- Enclosing class:
- CustomDetection
public static interface CustomDetection.Builder extends SdkPojo, CopyableBuilder<CustomDetection.Builder,CustomDetection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CustomDetection.Builderarn(String arn)The unique identifier for the custom data identifier.CustomDetection.Buildercount(Long count)The total number of occurrences of the sensitive data that the custom data identifier detected.CustomDetection.Buildername(String name)The name of the custom data identifier.default CustomDetection.Builderoccurrences(Consumer<Occurrences.Builder> occurrences)The location of 1-15 occurrences of the sensitive data that the custom data identifier detected.CustomDetection.Builderoccurrences(Occurrences occurrences)The location of 1-15 occurrences of the sensitive data that the custom data identifier detected.-
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
-
arn
CustomDetection.Builder arn(String arn)
The unique identifier for the custom data identifier.
- Parameters:
arn- The unique identifier for the custom data identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
CustomDetection.Builder count(Long count)
The total number of occurrences of the sensitive data that the custom data identifier detected.
- Parameters:
count- The total number of occurrences of the sensitive data that the custom data identifier detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CustomDetection.Builder name(String name)
The name of the custom data identifier.
- Parameters:
name- The name of the custom data identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occurrences
CustomDetection.Builder occurrences(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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
occurrences
default CustomDetection.Builder occurrences(Consumer<Occurrences.Builder> 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.
This is a convenience method that creates an instance of theOccurrences.Builderavoiding the need to create one manually viaOccurrences.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooccurrences(Occurrences).- Parameters:
occurrences- a consumer that will call methods onOccurrences.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
occurrences(Occurrences)
-
-