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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DefaultDetection.Buildercount(Long count)The total number of occurrences of the type of sensitive data that was detected.default DefaultDetection.Builderoccurrences(Consumer<Occurrences.Builder> occurrences)The location of 1-15 occurrences of the sensitive data that was detected.DefaultDetection.Builderoccurrences(Occurrences occurrences)The location of 1-15 occurrences of the sensitive data that was detected.DefaultDetection.Buildertype(String type)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 Detail
-
count
DefaultDetection.Builder count(Long 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
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.
- 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
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.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)
-
type
DefaultDetection.Builder type(String 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.
-
-