Interface ClassificationResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClassificationResult.Builder,ClassificationResult>,SdkBuilder<ClassificationResult.Builder,ClassificationResult>,SdkPojo
- Enclosing class:
- ClassificationResult
public static interface ClassificationResult.Builder extends SdkPojo, CopyableBuilder<ClassificationResult.Builder,ClassificationResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ClassificationResult.BuilderadditionalOccurrences(Boolean additionalOccurrences)Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object.default ClassificationResult.BuildercustomDataIdentifiers(Consumer<CustomDataIdentifiers.Builder> customDataIdentifiers)The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.ClassificationResult.BuildercustomDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.ClassificationResult.BuildermimeType(String mimeType)The type of content, as a MIME type, that the finding applies to.ClassificationResult.BuildersensitiveData(Collection<SensitiveDataItem> sensitiveData)The category, types, and number of occurrences of the sensitive data that produced the finding.ClassificationResult.BuildersensitiveData(Consumer<SensitiveDataItem.Builder>... sensitiveData)The category, types, and number of occurrences of the sensitive data that produced the finding.ClassificationResult.BuildersensitiveData(SensitiveDataItem... sensitiveData)The category, types, and number of occurrences of the sensitive data that produced the finding.ClassificationResult.BuildersizeClassified(Long sizeClassified)The total size, in bytes, of the data that the finding applies to.default ClassificationResult.Builderstatus(Consumer<ClassificationResultStatus.Builder> status)The status of the finding.ClassificationResult.Builderstatus(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 Detail
-
additionalOccurrences
ClassificationResult.Builder additionalOccurrences(Boolean 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
ClassificationResult.Builder customDataIdentifiers(CustomDataIdentifiers 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.Builderavoiding the need to create one manually viaCustomDataIdentifiers.builder().When the
Consumercompletes,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:
customDataIdentifiers(CustomDataIdentifiers)
-
mimeType
ClassificationResult.Builder mimeType(String 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
ClassificationResult.Builder sensitiveData(Collection<SensitiveDataItem> 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
ClassificationResult.Builder sensitiveData(SensitiveDataItem... 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
ClassificationResult.Builder sensitiveData(Consumer<SensitiveDataItem.Builder>... 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.Builderavoiding the need to create one manually viaSensitiveDataItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sensitiveData(List.) - 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:
#sensitiveData(java.util.Collection)
-
sizeClassified
ClassificationResult.Builder sizeClassified(Long 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
ClassificationResult.Builder status(ClassificationResultStatus 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
default ClassificationResult.Builder status(Consumer<ClassificationResultStatus.Builder> status)
The status of the finding.
This is a convenience method that creates an instance of theClassificationResultStatus.Builderavoiding the need to create one manually viaClassificationResultStatus.builder().When the
Consumercompletes,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:
status(ClassificationResultStatus)
-
-