Interface DefaultDetection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DefaultDetection.Builder,
,DefaultDetection> SdkBuilder<DefaultDetection.Builder,
,DefaultDetection> SdkPojo
- Enclosing class:
DefaultDetection
public static interface DefaultDetection.Builder
extends SdkPojo, CopyableBuilder<DefaultDetection.Builder,DefaultDetection>
-
Method Summary
Modifier and TypeMethodDescriptionThe total number of occurrences of the type of sensitive data that was detected.default DefaultDetection.Builder
occurrences
(Consumer<Occurrences.Builder> occurrences) The location of 1-15 occurrences of the sensitive data that was detected.occurrences
(Occurrences occurrences) The location of 1-15 occurrences of the sensitive data that was detected.The type of sensitive data that was 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
-
count
The total number of occurrences of the type of sensitive data that was detected.
- Parameters:
count
- The total number of occurrences of the type of sensitive data that was detected.- 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 was 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 was 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 was 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:
-
type
The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
- Parameters:
type
- The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-