public static interface DefaultDetection.Builder extends SdkPojo, CopyableBuilder<DefaultDetection.Builder,DefaultDetection>
| Modifier and Type | Method and Description |
|---|---|
DefaultDetection.Builder |
count(Long count)
The 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.
|
DefaultDetection.Builder |
occurrences(Occurrences occurrences)
The location of 1-15 occurrences of the sensitive data that was detected.
|
DefaultDetection.Builder |
type(String type)
The type of sensitive data that was detected.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDefaultDetection.Builder count(Long count)
The total number of occurrences of the type of sensitive data that was detected.
count - The total number of occurrences of the type of sensitive data that was detected.DefaultDetection.Builder occurrences(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.
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.default DefaultDetection.Builder occurrences(Consumer<Occurrences.Builder> 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 via Occurrences.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to occurrences(Occurrences).
occurrences - a consumer that will call methods on Occurrences.Builderoccurrences(Occurrences)DefaultDetection.Builder type(String type)
The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
type - The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.Copyright © 2023. All rights reserved.