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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SensitiveDataResult.Buildercategory(String category)The category of sensitive data that was detected.SensitiveDataResult.Builderdetections(Collection<SensitiveDataDetections> detections)The list of detected instances of sensitive data.SensitiveDataResult.Builderdetections(Consumer<SensitiveDataDetections.Builder>... detections)The list of detected instances of sensitive data.SensitiveDataResult.Builderdetections(SensitiveDataDetections... detections)The list of detected instances of sensitive data.SensitiveDataResult.BuildertotalCount(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
category
SensitiveDataResult.Builder category(String 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
SensitiveDataResult.Builder detections(Collection<SensitiveDataDetections> 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
SensitiveDataResult.Builder detections(SensitiveDataDetections... 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
SensitiveDataResult.Builder detections(Consumer<SensitiveDataDetections.Builder>... detections)
The list of detected instances of sensitive data.
This is a convenience method that creates an instance of theSensitiveDataDetections.Builderavoiding the need to create one manually viaSensitiveDataDetections.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#detections(List.) - 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:
#detections(java.util.Collection)
-
totalCount
SensitiveDataResult.Builder totalCount(Long 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.
-
-