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
Modifier and TypeMethodDescriptionThe unique identifier for the custom data identifier.The total number of occurrences of the sensitive data that the custom data identifier detected.The name of the custom data identifier.default CustomDetection.Builder
occurrences
(Consumer<Occurrences.Builder> occurrences) The location of 1-15 occurrences of the sensitive data that the custom data identifier detected.occurrences
(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, sdkFields
-
Method Details
-
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
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
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
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
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.Builder
avoiding the need to create one manually viaOccurrences.builder()
.When the
Consumer
completes,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:
-