Interface ClassificationDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClassificationDetails.Builder,
,ClassificationDetails> SdkBuilder<ClassificationDetails.Builder,
,ClassificationDetails> SdkPojo
- Enclosing class:
ClassificationDetails
-
Method Summary
Modifier and TypeMethodDescriptiondetailedResultsLocation
(String detailedResultsLocation) The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding.The Amazon Resource Name (ARN) of the classification job that produced the finding.The unique identifier for the classification job that produced the finding.originType
(String originType) Specifies how Amazon Macie found the sensitive data that produced the finding.originType
(OriginType originType) Specifies how Amazon Macie found the sensitive data that produced the finding.default ClassificationDetails.Builder
result
(Consumer<ClassificationResult.Builder> result) The status and other details of the finding.result
(ClassificationResult result) The status and other details 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 Details
-
detailedResultsLocation
The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.
- Parameters:
detailedResultsLocation
- The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobArn
The Amazon Resource Name (ARN) of the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
- Parameters:
jobArn
- The Amazon Resource Name (ARN) of the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobId
The unique identifier for the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
- Parameters:
jobId
- The unique identifier for the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
originType
Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.
- Parameters:
originType
- Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
originType
Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.
- Parameters:
originType
- Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
result
The status and other details of the finding.
- Parameters:
result
- The status and other details of the finding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
The status and other details of the finding.
This is a convenience method that creates an instance of theClassificationResult.Builder
avoiding the need to create one manually viaClassificationResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresult(ClassificationResult)
.- Parameters:
result
- a consumer that will call methods onClassificationResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-