Interface SensitiveDataItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SensitiveDataItem.Builder,SensitiveDataItem>,SdkBuilder<SensitiveDataItem.Builder,SensitiveDataItem>,SdkPojo
- Enclosing class:
- SensitiveDataItem
public static interface SensitiveDataItem.Builder extends SdkPojo, CopyableBuilder<SensitiveDataItem.Builder,SensitiveDataItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SensitiveDataItem.Buildercategory(String category)The category of sensitive data that was detected.SensitiveDataItem.Buildercategory(SensitiveDataItemCategory category)The category of sensitive data that was detected.SensitiveDataItem.Builderdetections(Collection<DefaultDetection> detections)An array of objects, one for each type of sensitive data that was detected.SensitiveDataItem.Builderdetections(Consumer<DefaultDetection.Builder>... detections)An array of objects, one for each type of sensitive data that was detected.SensitiveDataItem.Builderdetections(DefaultDetection... detections)An array of objects, one for each type of sensitive data that was detected.SensitiveDataItem.BuildertotalCount(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 Detail
-
category
SensitiveDataItem.Builder category(String 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:
SensitiveDataItemCategory,SensitiveDataItemCategory
-
category
SensitiveDataItem.Builder category(SensitiveDataItemCategory 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:
SensitiveDataItemCategory,SensitiveDataItemCategory
-
detections
SensitiveDataItem.Builder detections(Collection<DefaultDetection> 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
SensitiveDataItem.Builder detections(DefaultDetection... 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
SensitiveDataItem.Builder detections(Consumer<DefaultDetection.Builder>... 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.Builderavoiding the need to create one manually viaDefaultDetection.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 onDefaultDetection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#detections(java.util.Collection)
-
totalCount
SensitiveDataItem.Builder totalCount(Long 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.
-
-