Interface SensitiveDataDetections.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SensitiveDataDetections.Builder,
,SensitiveDataDetections> SdkBuilder<SensitiveDataDetections.Builder,
,SensitiveDataDetections> SdkPojo
- Enclosing class:
SensitiveDataDetections
public static interface SensitiveDataDetections.Builder
extends SdkPojo, CopyableBuilder<SensitiveDataDetections.Builder,SensitiveDataDetections>
-
Method Summary
Modifier and TypeMethodDescriptionThe total number of occurrences of sensitive data that were detected.default SensitiveDataDetections.Builder
occurrences
(Consumer<Occurrences.Builder> occurrences) Details about the sensitive data that was detected.occurrences
(Occurrences occurrences) Details about 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 sensitive data that were detected.
- Parameters:
count
- The total number of occurrences of sensitive data that were detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of sensitive data that was detected. For example, the type might indicate that the data is an email address.
- Parameters:
type
- The type of sensitive data that was detected. For example, the type might indicate that the data is an email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occurrences
Details about the sensitive data that was detected.
- Parameters:
occurrences
- Details about the sensitive data that was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
occurrences
Details about the sensitive data that was detected.
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:
-