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)Indicates whether there are additional occurrences of sensitive data that are not included in the finding.default ClassificationResult.BuildercustomDataIdentifiers(Consumer<CustomDataIdentifiersResult.Builder> customDataIdentifiers)Provides details about sensitive data that was identified based on customer-defined configuration.ClassificationResult.BuildercustomDataIdentifiers(CustomDataIdentifiersResult customDataIdentifiers)Provides details about sensitive data that was identified based on customer-defined configuration.ClassificationResult.BuildermimeType(String mimeType)The type of content that the finding applies to.ClassificationResult.BuildersensitiveData(Collection<SensitiveDataResult> sensitiveData)Provides details about sensitive data that was identified based on built-in configuration.ClassificationResult.BuildersensitiveData(Consumer<SensitiveDataResult.Builder>... sensitiveData)Provides details about sensitive data that was identified based on built-in configuration.ClassificationResult.BuildersensitiveData(SensitiveDataResult... sensitiveData)Provides details about sensitive data that was identified based on built-in configuration.ClassificationResult.BuildersizeClassified(Long sizeClassified)The total size in bytes of the affected data.default ClassificationResult.Builderstatus(Consumer<ClassificationStatus.Builder> status)The current status of the sensitive data detection.ClassificationResult.Builderstatus(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 Detail
-
mimeType
ClassificationResult.Builder mimeType(String 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
ClassificationResult.Builder sizeClassified(Long 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
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.
- 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
ClassificationResult.Builder status(ClassificationStatus 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
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.Builderavoiding the need to create one manually viaClassificationStatus.builder().When the
Consumercompletes,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:
status(ClassificationStatus)
-
sensitiveData
ClassificationResult.Builder sensitiveData(Collection<SensitiveDataResult> 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
ClassificationResult.Builder sensitiveData(SensitiveDataResult... 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
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.Builderavoiding the need to create one manually viaSensitiveDataResult.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 onSensitiveDataResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#sensitiveData(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaCustomDataIdentifiersResult.builder().When the
Consumercompletes,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:
customDataIdentifiers(CustomDataIdentifiersResult)
-
-