Interface CustomDataIdentifiers.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomDataIdentifiers.Builder,
,CustomDataIdentifiers> SdkBuilder<CustomDataIdentifiers.Builder,
,CustomDataIdentifiers> SdkPojo
- Enclosing class:
CustomDataIdentifiers
@Mutable
@NotThreadSafe
public static interface CustomDataIdentifiers.Builder
extends SdkPojo, CopyableBuilder<CustomDataIdentifiers.Builder,CustomDataIdentifiers>
-
Method Summary
Modifier and TypeMethodDescriptiondetections
(Collection<CustomDetection> detections) The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.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.detections
(CustomDetection... detections) The custom data identifiers that detected the data, and the number of occurrences of the data that each identifier detected.totalCount
(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 Details
-
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
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
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.Builder
avoiding the need to create one manually viaCustomDetection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetections(List<CustomDetection>)
.- 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:
-
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.
-