public static interface ClassificationResult.Builder extends SdkPojo, CopyableBuilder<ClassificationResult.Builder,ClassificationResult>
| Modifier and Type | Method and Description |
|---|---|
ClassificationResult.Builder |
additionalOccurrences(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.
|
ClassificationResult.Builder |
customDataIdentifiers(CustomDataIdentifiersResult customDataIdentifiers)
Provides details about sensitive data that was identified based on customer-defined configuration.
|
ClassificationResult.Builder |
mimeType(String mimeType)
The type of content that the finding applies to.
|
ClassificationResult.Builder |
sensitiveData(Collection<SensitiveDataResult> sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
|
ClassificationResult.Builder |
sensitiveData(Consumer<SensitiveDataResult.Builder>... sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
|
ClassificationResult.Builder |
sensitiveData(SensitiveDataResult... sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
|
ClassificationResult.Builder |
sizeClassified(Long sizeClassified)
The total size in bytes of the affected data.
|
ClassificationResult.Builder |
status(ClassificationStatus status)
The current status of the sensitive data detection.
|
default ClassificationResult.Builder |
status(Consumer<ClassificationStatus.Builder> status)
The current status of the sensitive data detection.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClassificationResult.Builder mimeType(String mimeType)
The type of content that the finding applies to.
mimeType - The type of content that the finding applies to.ClassificationResult.Builder sizeClassified(Long sizeClassified)
The total size in bytes of the affected data.
sizeClassified - The total size in bytes of the affected data.ClassificationResult.Builder additionalOccurrences(Boolean 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.
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.ClassificationResult.Builder status(ClassificationStatus status)
The current status of the sensitive data detection.
status - The current status of the sensitive data detection.default ClassificationResult.Builder status(Consumer<ClassificationStatus.Builder> 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 via ClassificationStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to status(ClassificationStatus).
status - a consumer that will call methods on ClassificationStatus.Builderstatus(ClassificationStatus)ClassificationResult.Builder sensitiveData(Collection<SensitiveDataResult> sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
sensitiveData - Provides details about sensitive data that was identified based on built-in configuration.ClassificationResult.Builder sensitiveData(SensitiveDataResult... sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
sensitiveData - Provides details about sensitive data that was identified based on built-in configuration.ClassificationResult.Builder sensitiveData(Consumer<SensitiveDataResult.Builder>... 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 via
SensitiveDataResult.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #sensitiveData(List.
sensitiveData - a consumer that will call methods on
SensitiveDataResult.Builder#sensitiveData(java.util.Collection) ClassificationResult.Builder customDataIdentifiers(CustomDataIdentifiersResult customDataIdentifiers)
Provides details about sensitive data that was identified based on customer-defined configuration.
customDataIdentifiers - Provides details about sensitive data that was identified based on customer-defined configuration.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 via CustomDataIdentifiersResult.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to customDataIdentifiers(CustomDataIdentifiersResult).
customDataIdentifiers - a consumer that will call methods on CustomDataIdentifiersResult.BuildercustomDataIdentifiers(CustomDataIdentifiersResult)Copyright © 2023. All rights reserved.