Interface SensitiveDataItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SensitiveDataItem.Builder,
,SensitiveDataItem> SdkBuilder<SensitiveDataItem.Builder,
,SensitiveDataItem> SdkPojo
- Enclosing class:
SensitiveDataItem
-
Method Summary
Modifier and TypeMethodDescriptionThe category of sensitive data that was detected.category
(SensitiveDataItemCategory category) The category of sensitive data that was detected.detections
(Collection<DefaultDetection> detections) An array of objects, one for each type of sensitive data that was detected.detections
(Consumer<DefaultDetection.Builder>... detections) An array of objects, one for each type of sensitive data that was detected.detections
(DefaultDetection... detections) An array of objects, one for each type of sensitive data that was detected.totalCount
(Long totalCount) The total number of occurrences of the 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, sdkFields
-
Method Details
-
category
The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
- Parameters:
category
- The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
category
The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.
- Parameters:
category
- The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
detections
An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.
- Parameters:
detections
- An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detections
An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.
- Parameters:
detections
- An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detections
An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.
This is a convenience method that creates an instance of theDefaultDetection.Builder
avoiding the need to create one manually viaDefaultDetection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetections(List<DefaultDetection>)
.- Parameters:
detections
- a consumer that will call methods onDefaultDetection.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 sensitive data that was detected.
- Parameters:
totalCount
- The total number of occurrences of the sensitive data that was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-