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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SensitiveDataDetections.Buildercount(Long count)The total number of occurrences of sensitive data that were detected.default SensitiveDataDetections.Builderoccurrences(Consumer<Occurrences.Builder> occurrences)Details about the sensitive data that was detected.SensitiveDataDetections.Builderoccurrences(Occurrences occurrences)Details about the sensitive data that was detected.SensitiveDataDetections.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
count
SensitiveDataDetections.Builder count(Long 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
SensitiveDataDetections.Builder type(String 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
SensitiveDataDetections.Builder occurrences(Occurrences 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
default SensitiveDataDetections.Builder occurrences(Consumer<Occurrences.Builder> occurrences)
Details about the sensitive data that was detected.
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)
-
-