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 Details

    • 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

      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

      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

      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:
    • 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 the ClassificationResult.Builder avoiding the need to create one manually via ClassificationResult.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to result(ClassificationResult).

      Parameters:
      result - a consumer that will call methods on ClassificationResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: