Interface CustomDataIdentifiers.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomDataIdentifiers.Builder,CustomDataIdentifiers>,SdkBuilder<CustomDataIdentifiers.Builder,CustomDataIdentifiers>,SdkPojo
- Enclosing class:
- CustomDataIdentifiers
public static interface CustomDataIdentifiers.Builder extends SdkPojo, CopyableBuilder<CustomDataIdentifiers.Builder,CustomDataIdentifiers>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomDataIdentifiers.Builderdetections(Collection<CustomDetection> detections)The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.CustomDataIdentifiers.Builderdetections(Consumer<CustomDetection.Builder>... detections)The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.CustomDataIdentifiers.Builderdetections(CustomDetection... detections)The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.CustomDataIdentifiers.BuildertotalCount(Long totalCount)The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.-
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
-
detections
CustomDataIdentifiers.Builder detections(Collection<CustomDetection> detections)
The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
- Parameters:
detections- The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detections
CustomDataIdentifiers.Builder detections(CustomDetection... detections)
The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
- Parameters:
detections- The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detections
CustomDataIdentifiers.Builder detections(Consumer<CustomDetection.Builder>... detections)
The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.
This is a convenience method that creates an instance of theCustomDetection.Builderavoiding the need to create one manually viaCustomDetection.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 onCustomDetection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#detections(java.util.Collection)
-
totalCount
CustomDataIdentifiers.Builder totalCount(Long totalCount)
The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.
- Parameters:
totalCount- The total number of occurrences of the data that was detected by the custom data identifiers and produced the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-