Interface SensitiveDataResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SensitiveDataResult.Builder,
,SensitiveDataResult> SdkBuilder<SensitiveDataResult.Builder,
,SensitiveDataResult> SdkPojo
- Enclosing class:
SensitiveDataResult
public static interface SensitiveDataResult.Builder
extends SdkPojo, CopyableBuilder<SensitiveDataResult.Builder,SensitiveDataResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe category of sensitive data that was detected.detections
(Collection<SensitiveDataDetections> detections) The list of detected instances of sensitive data.detections
(Consumer<SensitiveDataDetections.Builder>... detections) The list of detected instances of sensitive data.detections
(SensitiveDataDetections... detections) The list of detected instances of sensitive data.totalCount
(Long totalCount) The total number of occurrences of sensitive data.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
-
category
The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.
- Parameters:
category
- The category of sensitive data that was detected. For example, the category can indicate that the sensitive data involved credentials, financial information, or personal information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detections
The list of detected instances of sensitive data.
- Parameters:
detections
- The list of detected instances of sensitive data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detections
The list of detected instances of sensitive data.
- Parameters:
detections
- The list of detected instances of sensitive data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detections
The list of detected instances of sensitive data.
This is a convenience method that creates an instance of theSensitiveDataDetections.Builder
avoiding the need to create one manually viaSensitiveDataDetections.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetections(List<SensitiveDataDetections>)
.- Parameters:
detections
- a consumer that will call methods onSensitiveDataDetections.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalCount
The total number of occurrences of sensitive data.
- Parameters:
totalCount
- The total number of occurrences of sensitive data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-