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) Indicates whether there are additional occurrences of sensitive data that are not included in the finding.default ClassificationResult.Builder
customDataIdentifiers
(Consumer<CustomDataIdentifiersResult.Builder> customDataIdentifiers) Provides details about sensitive data that was identified based on customer-defined configuration.customDataIdentifiers
(CustomDataIdentifiersResult customDataIdentifiers) Provides details about sensitive data that was identified based on customer-defined configuration.The type of content that the finding applies to.sensitiveData
(Collection<SensitiveDataResult> sensitiveData) Provides details about sensitive data that was identified based on built-in configuration.sensitiveData
(Consumer<SensitiveDataResult.Builder>... sensitiveData) Provides details about sensitive data that was identified based on built-in configuration.sensitiveData
(SensitiveDataResult... sensitiveData) Provides details about sensitive data that was identified based on built-in configuration.sizeClassified
(Long sizeClassified) The total size in bytes of the affected data.default ClassificationResult.Builder
status
(Consumer<ClassificationStatus.Builder> status) The current status of the sensitive data detection.status
(ClassificationStatus status) The current status of the sensitive data detection.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
-
mimeType
The type of content that the finding applies to.
- Parameters:
mimeType
- The type of content that the finding applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeClassified
The total size in bytes of the affected data.
- Parameters:
sizeClassified
- The total size in bytes of the affected data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOccurrences
Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.
- Parameters:
additionalOccurrences
- Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the sensitive data detection.
- Parameters:
status
- The current status of the sensitive data detection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the sensitive data detection.
This is a convenience method that creates an instance of theClassificationStatus.Builder
avoiding the need to create one manually viaClassificationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ClassificationStatus)
.- Parameters:
status
- a consumer that will call methods onClassificationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sensitiveData
Provides details about sensitive data that was identified based on built-in configuration.
- Parameters:
sensitiveData
- Provides details about sensitive data that was identified based on built-in configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitiveData
Provides details about sensitive data that was identified based on built-in configuration.
- Parameters:
sensitiveData
- Provides details about sensitive data that was identified based on built-in configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sensitiveData
Provides details about sensitive data that was identified based on built-in configuration.
This is a convenience method that creates an instance of theSensitiveDataResult.Builder
avoiding the need to create one manually viaSensitiveDataResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosensitiveData(List<SensitiveDataResult>)
.- Parameters:
sensitiveData
- a consumer that will call methods onSensitiveDataResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customDataIdentifiers
ClassificationResult.Builder customDataIdentifiers(CustomDataIdentifiersResult customDataIdentifiers) Provides details about sensitive data that was identified based on customer-defined configuration.
- Parameters:
customDataIdentifiers
- Provides details about sensitive data that was identified based on customer-defined configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDataIdentifiers
default ClassificationResult.Builder customDataIdentifiers(Consumer<CustomDataIdentifiersResult.Builder> customDataIdentifiers) Provides details about sensitive data that was identified based on customer-defined configuration.
This is a convenience method that creates an instance of theCustomDataIdentifiersResult.Builder
avoiding the need to create one manually viaCustomDataIdentifiersResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomDataIdentifiers(CustomDataIdentifiersResult)
.- Parameters:
customDataIdentifiers
- a consumer that will call methods onCustomDataIdentifiersResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-