Interface ComprehendMedicalAsyncJobProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComprehendMedicalAsyncJobProperties.Builder,
,ComprehendMedicalAsyncJobProperties> SdkBuilder<ComprehendMedicalAsyncJobProperties.Builder,
,ComprehendMedicalAsyncJobProperties> SdkPojo
- Enclosing class:
ComprehendMedicalAsyncJobProperties
-
Method Summary
Modifier and TypeMethodDescriptiondataAccessRoleArn
(String dataAccessRoleArn) The Amazon Resource Name (ARN) that gives Amazon Comprehend Medical read access to your input data.The time that the detection job completed.expirationTime
(Instant expirationTime) The date and time that job metadata is deleted from the server.inputDataConfig
(Consumer<InputDataConfig.Builder> inputDataConfig) The input data configuration that you supplied when you created the detection job.inputDataConfig
(InputDataConfig inputDataConfig) The input data configuration that you supplied when you created the detection job.The identifier assigned to the detection job.The name that you assigned to the detection job.The current status of the detection job.The current status of the detection job.The AWS Key Management Service key, if any, used to encrypt the output files.languageCode
(String languageCode) The language code of the input documents.languageCode
(LanguageCode languageCode) The language code of the input documents.manifestFilePath
(String manifestFilePath) The path to the file that describes the results of a batch job.A description of the status of a job.modelVersion
(String modelVersion) The version of the model used to analyze the documents.outputDataConfig
(Consumer<OutputDataConfig.Builder> outputDataConfig) The output data configuration that you supplied when you created the detection job.outputDataConfig
(OutputDataConfig outputDataConfig) The output data configuration that you supplied when you created the detection job.submitTime
(Instant submitTime) The time that the detection job was submitted for processing.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
-
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
, theMessage
field shows the reason for the failure.- Parameters:
jobStatus
- The current status of the detection job. If the status isFAILED
, theMessage
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
, theMessage
field shows the reason for the failure.- Parameters:
jobStatus
- The current status of the detection job. If the status isFAILED
, theMessage
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
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 theListPHIDetectionJobs
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 theListEntitiesDetectionV2Job
or theListPHIDetectionJobs
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
default ComprehendMedicalAsyncJobProperties.Builder inputDataConfig(Consumer<InputDataConfig.Builder> inputDataConfig) The input data configuration that you supplied when you created the detection job.
This is a convenience method that creates an instance of theInputDataConfig.Builder
avoiding the need to create one manually viaInputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputDataConfig(InputDataConfig)
.- Parameters:
inputDataConfig
- a consumer that will call methods onInputDataConfig.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
default ComprehendMedicalAsyncJobProperties.Builder outputDataConfig(Consumer<OutputDataConfig.Builder> outputDataConfig) The output data configuration that you supplied when you created the detection job.
This is a convenience method that creates an instance of theOutputDataConfig.Builder
avoiding the need to create one manually viaOutputDataConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputDataConfig(OutputDataConfig)
.- Parameters:
outputDataConfig
- a consumer that will call methods onOutputDataConfig.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
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
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.
-