Interface ClassificationDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClassificationDetails.Builder,ClassificationDetails>,SdkBuilder<ClassificationDetails.Builder,ClassificationDetails>,SdkPojo
- Enclosing class:
- ClassificationDetails
public static interface ClassificationDetails.Builder extends SdkPojo, CopyableBuilder<ClassificationDetails.Builder,ClassificationDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ClassificationDetails.BuilderdetailedResultsLocation(String detailedResultsLocation)The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding.ClassificationDetails.BuilderjobArn(String jobArn)The Amazon Resource Name (ARN) of the classification job that produced the finding.ClassificationDetails.BuilderjobId(String jobId)The unique identifier for the classification job that produced the finding.ClassificationDetails.BuilderoriginType(String originType)Specifies how Amazon Macie found the sensitive data that produced the finding.ClassificationDetails.BuilderoriginType(OriginType originType)Specifies how Amazon Macie found the sensitive data that produced the finding.default ClassificationDetails.Builderresult(Consumer<ClassificationResult.Builder> result)The status and other details of the finding.ClassificationDetails.Builderresult(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 Detail
-
detailedResultsLocation
ClassificationDetails.Builder detailedResultsLocation(String 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
ClassificationDetails.Builder jobArn(String 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
ClassificationDetails.Builder jobId(String 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
ClassificationDetails.Builder originType(String 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,OriginType
-
originType
ClassificationDetails.Builder originType(OriginType 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,OriginType
-
result
ClassificationDetails.Builder result(ClassificationResult 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
default ClassificationDetails.Builder result(Consumer<ClassificationResult.Builder> result)
The status and other details of the finding.
This is a convenience method that creates an instance of theClassificationResult.Builderavoiding the need to create one manually viaClassificationResult.builder().When the
Consumercompletes,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:
result(ClassificationResult)
-
-