public static interface ClassificationResult.Builder extends SdkPojo, CopyableBuilder<ClassificationResult.Builder,ClassificationResult>
| Modifier and Type | Method and Description |
|---|---|
default ClassificationResult.Builder |
customDataIdentifiers(Consumer<CustomDataIdentifiers.Builder> customDataIdentifiers)
The number of occurrences of the data that produced the finding, and the custom data identifiers that
detected the data.
|
ClassificationResult.Builder |
customDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)
The number of occurrences of the data that produced the finding, and the custom data identifiers that
detected the data.
|
ClassificationResult.Builder |
mimeType(String mimeType)
The type of content, expressed as a MIME type, that the finding applies to.
|
ClassificationResult.Builder |
sensitiveData(Collection<SensitiveDataItem> sensitiveData)
The category and number of occurrences of the sensitive data that produced the finding.
|
ClassificationResult.Builder |
sensitiveData(Consumer<SensitiveDataItem.Builder>... sensitiveData)
The category and number of occurrences of the sensitive data that produced the finding.
|
ClassificationResult.Builder |
sensitiveData(SensitiveDataItem... sensitiveData)
The category and number of occurrences of the sensitive data that produced the finding.
|
ClassificationResult.Builder |
sizeClassified(Long sizeClassified)
The total size, in bytes, of the data that the finding applies to.
|
ClassificationResult.Builder |
status(ClassificationResultStatus status)
The status of the finding.
|
default ClassificationResult.Builder |
status(Consumer<ClassificationResultStatus.Builder> status)
The status of the finding.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClassificationResult.Builder customDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)
The number of occurrences of the data that produced the finding, and the custom data identifiers that detected the data.
customDataIdentifiers - The number of occurrences of the data that produced the finding, and the custom data identifiers that
detected the data.default ClassificationResult.Builder customDataIdentifiers(Consumer<CustomDataIdentifiers.Builder> customDataIdentifiers)
The number of occurrences of the data that produced the finding, and the custom data identifiers that detected the data.
This is a convenience that creates an instance of theCustomDataIdentifiers.Builder avoiding the need
to create one manually via CustomDataIdentifiers.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to customDataIdentifiers(CustomDataIdentifiers).customDataIdentifiers - a consumer that will call methods on CustomDataIdentifiers.BuildercustomDataIdentifiers(CustomDataIdentifiers)ClassificationResult.Builder mimeType(String mimeType)
The type of content, expressed 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 PDF file.
mimeType - The type of content, expressed 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 PDF file.ClassificationResult.Builder sensitiveData(Collection<SensitiveDataItem> sensitiveData)
The category and number of occurrences of the sensitive data that produced the finding.
sensitiveData - The category and number of occurrences of the sensitive data that produced the finding.ClassificationResult.Builder sensitiveData(SensitiveDataItem... sensitiveData)
The category and number of occurrences of the sensitive data that produced the finding.
sensitiveData - The category and number of occurrences of the sensitive data that produced the finding.ClassificationResult.Builder sensitiveData(Consumer<SensitiveDataItem.Builder>... sensitiveData)
The category and number of occurrences of the sensitive data that produced the finding.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #sensitiveData(List) .sensitiveData - a consumer that will call methods on List.Builder #sensitiveData(List) ClassificationResult.Builder sizeClassified(Long sizeClassified)
The total size, in bytes, of the data that the finding applies to.
sizeClassified - The total size, in bytes, of the data that the finding applies to.ClassificationResult.Builder status(ClassificationResultStatus status)
The status of the finding.
status - The status of the finding.default ClassificationResult.Builder status(Consumer<ClassificationResultStatus.Builder> status)
The status of the finding.
This is a convenience that creates an instance of theClassificationResultStatus.Builder avoiding the
need to create one manually via ClassificationResultStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to status(ClassificationResultStatus).status - a consumer that will call methods on ClassificationResultStatus.Builderstatus(ClassificationResultStatus)Copyright © 2020. All rights reserved.