Interface ComprehendMedicalAsyncJobProperties.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ComprehendMedicalAsyncJobProperties.Builder,ComprehendMedicalAsyncJobProperties>, SdkBuilder<ComprehendMedicalAsyncJobProperties.Builder,ComprehendMedicalAsyncJobProperties>, SdkPojo
Enclosing class:
ComprehendMedicalAsyncJobProperties

public static interface ComprehendMedicalAsyncJobProperties.Builder extends SdkPojo, CopyableBuilder<ComprehendMedicalAsyncJobProperties.Builder,ComprehendMedicalAsyncJobProperties>
  • Method Details

    • jobId

      The identifier assigned to the detection job.

      Parameters:
      jobId - The identifier assigned to the detection job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobName

      The name that you assigned to the detection job.

      Parameters:
      jobName - The name that you assigned to the detection job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobStatus

      The current status of the detection job. If the status is FAILED, the Message field shows the reason for the failure.

      Parameters:
      jobStatus - The current status of the detection job. If the status is FAILED, the Message field shows the reason for the failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobStatus

      The current status of the detection job. If the status is FAILED, the Message field shows the reason for the failure.

      Parameters:
      jobStatus - The current status of the detection job. If the status is FAILED, the Message field shows the reason for the failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      A description of the status of a job.

      Parameters:
      message - A description of the status of a job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • submitTime

      The time that the detection job was submitted for processing.

      Parameters:
      submitTime - The time that the detection job was submitted for processing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The time that the detection job completed.

      Parameters:
      endTime - The time that the detection job completed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expirationTime

      ComprehendMedicalAsyncJobProperties.Builder expirationTime(Instant expirationTime)

      The date and time that job metadata is deleted from the server. Output files in your S3 bucket will not be deleted. After the metadata is deleted, the job will no longer appear in the results of the ListEntitiesDetectionV2Job or the ListPHIDetectionJobs operation.

      Parameters:
      expirationTime - The date and time that job metadata is deleted from the server. Output files in your S3 bucket will not be deleted. After the metadata is deleted, the job will no longer appear in the results of the ListEntitiesDetectionV2Job or the ListPHIDetectionJobs operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputDataConfig

      The input data configuration that you supplied when you created the detection job.

      Parameters:
      inputDataConfig - The input data configuration that you supplied when you created the detection job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inputDataConfig

      The input data configuration that you supplied when you created the detection job.

      This is a convenience method that creates an instance of the InputDataConfig.Builder avoiding the need to create one manually via InputDataConfig.builder().

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

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

      The output data configuration that you supplied when you created the detection job.

      Parameters:
      outputDataConfig - The output data configuration that you supplied when you created the detection job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputDataConfig

      The output data configuration that you supplied when you created the detection job.

      This is a convenience method that creates an instance of the OutputDataConfig.Builder avoiding the need to create one manually via OutputDataConfig.builder().

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

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

      The language code of the input documents.

      Parameters:
      languageCode - The language code of the input documents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • languageCode

      The language code of the input documents.

      Parameters:
      languageCode - The language code of the input documents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dataAccessRoleArn

      ComprehendMedicalAsyncJobProperties.Builder dataAccessRoleArn(String dataAccessRoleArn)

      The Amazon Resource Name (ARN) that gives Amazon Comprehend Medical read access to your input data.

      Parameters:
      dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend Medical read access to your input data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • manifestFilePath

      ComprehendMedicalAsyncJobProperties.Builder manifestFilePath(String manifestFilePath)

      The path to the file that describes the results of a batch job.

      Parameters:
      manifestFilePath - The path to the file that describes the results of a batch job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKey

      The AWS Key Management Service key, if any, used to encrypt the output files.

      Parameters:
      kmsKey - The AWS Key Management Service key, if any, used to encrypt the output files.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelVersion

      The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.

      Parameters:
      modelVersion - The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.