Interface ClassificationResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClassificationResult.Builder,
,ClassificationResult> SdkBuilder<ClassificationResult.Builder,
,ClassificationResult> SdkPojo
- Enclosing class:
ClassificationResult
-
Method Summary
Modifier and TypeMethodDescriptionadditionalOccurrences
(Boolean additionalOccurrences) Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object.default ClassificationResult.Builder
customDataIdentifiers
(Consumer<CustomDataIdentifiers.Builder> customDataIdentifiers) The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.customDataIdentifiers
(CustomDataIdentifiers customDataIdentifiers) The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.The type of content, as a MIME type, that the finding applies to.sensitiveData
(Collection<SensitiveDataItem> sensitiveData) The category, types, and number of occurrences of the sensitive data that produced the finding.sensitiveData
(Consumer<SensitiveDataItem.Builder>... sensitiveData) The category, types, and number of occurrences of the sensitive data that produced the finding.sensitiveData
(SensitiveDataItem... sensitiveData) The category, types, and number of occurrences of the sensitive data that produced the finding.sizeClassified
(Long sizeClassified) The total size, in bytes, of the data that the finding applies to.default ClassificationResult.Builder
The status of the finding.status
(ClassificationResultStatus status) The status of 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, sdkFields
-
Method Details
-
additionalOccurrences
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).
- Parameters:
additionalOccurrences
- Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDataIdentifiers
The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.
- Parameters:
customDataIdentifiers
- The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDataIdentifiers
default ClassificationResult.Builder customDataIdentifiers(Consumer<CustomDataIdentifiers.Builder> customDataIdentifiers) The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.
This is a convenience method that creates an instance of theCustomDataIdentifiers.Builder
avoiding the need to create one manually viaCustomDataIdentifiers.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomDataIdentifiers(CustomDataIdentifiers)
.- Parameters:
customDataIdentifiers
- a consumer that will call methods onCustomDataIdentifiers.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mimeType
The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.
- Parameters:
mimeType
- The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitiveData
The category, types, and number of occurrences of the sensitive data that produced the finding.
- Parameters:
sensitiveData
- The category, types, and number of occurrences of the sensitive data that produced the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitiveData
The category, types, and number of occurrences of the sensitive data that produced the finding.
- Parameters:
sensitiveData
- The category, types, and number of occurrences of the sensitive data that produced the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitiveData
The category, types, and number of occurrences of the sensitive data that produced the finding.
This is a convenience method that creates an instance of theSensitiveDataItem.Builder
avoiding the need to create one manually viaSensitiveDataItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosensitiveData(List<SensitiveDataItem>)
.- Parameters:
sensitiveData
- a consumer that will call methods onSensitiveDataItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sizeClassified
The total size, in bytes, of the data that the finding applies to.
- Parameters:
sizeClassified
- The total size, in bytes, of the data that the finding applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the finding.
- Parameters:
status
- The status of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the finding.
This is a convenience method that creates an instance of theClassificationResultStatus.Builder
avoiding the need to create one manually viaClassificationResultStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ClassificationResultStatus)
.- Parameters:
status
- a consumer that will call methods onClassificationResultStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-