Interface StartTextTranslationJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartTextTranslationJobResponse.Builder,StartTextTranslationJobResponse>,SdkBuilder<StartTextTranslationJobResponse.Builder,StartTextTranslationJobResponse>,SdkPojo,SdkResponse.Builder,TranslateResponse.Builder
- Enclosing class:
- StartTextTranslationJobResponse
public static interface StartTextTranslationJobResponse.Builder extends TranslateResponse.Builder, SdkPojo, CopyableBuilder<StartTextTranslationJobResponse.Builder,StartTextTranslationJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartTextTranslationJobResponse.BuilderjobId(String jobId)The identifier generated for the job.StartTextTranslationJobResponse.BuilderjobStatus(String jobStatus)The status of the job.StartTextTranslationJobResponse.BuilderjobStatus(JobStatus jobStatus)The status of the job.-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.translate.model.TranslateResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
jobId
StartTextTranslationJobResponse.Builder jobId(String jobId)
The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
- Parameters:
jobId- The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobStatus
StartTextTranslationJobResponse.Builder jobStatus(String jobStatus)
The status of the job. Possible values include:
-
SUBMITTED- The job has been received and is queued for processing. -
IN_PROGRESS- Amazon Translate is processing the job. -
COMPLETED- The job was successfully completed and the output is available. -
COMPLETED_WITH_ERROR- The job was completed with errors. The errors can be analyzed in the job's output. -
FAILED- The job did not complete. To get details, use the DescribeTextTranslationJob operation. -
STOP_REQUESTED- The user who started the job has requested that it be stopped. -
STOPPED- The job has been stopped.
- Parameters:
jobStatus- The status of the job. Possible values include:-
SUBMITTED- The job has been received and is queued for processing. -
IN_PROGRESS- Amazon Translate is processing the job. -
COMPLETED- The job was successfully completed and the output is available. -
COMPLETED_WITH_ERROR- The job was completed with errors. The errors can be analyzed in the job's output. -
FAILED- The job did not complete. To get details, use the DescribeTextTranslationJob operation. -
STOP_REQUESTED- The user who started the job has requested that it be stopped. -
STOPPED- The job has been stopped.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobStatus,JobStatus
-
-
jobStatus
StartTextTranslationJobResponse.Builder jobStatus(JobStatus jobStatus)
The status of the job. Possible values include:
-
SUBMITTED- The job has been received and is queued for processing. -
IN_PROGRESS- Amazon Translate is processing the job. -
COMPLETED- The job was successfully completed and the output is available. -
COMPLETED_WITH_ERROR- The job was completed with errors. The errors can be analyzed in the job's output. -
FAILED- The job did not complete. To get details, use the DescribeTextTranslationJob operation. -
STOP_REQUESTED- The user who started the job has requested that it be stopped. -
STOPPED- The job has been stopped.
- Parameters:
jobStatus- The status of the job. Possible values include:-
SUBMITTED- The job has been received and is queued for processing. -
IN_PROGRESS- Amazon Translate is processing the job. -
COMPLETED- The job was successfully completed and the output is available. -
COMPLETED_WITH_ERROR- The job was completed with errors. The errors can be analyzed in the job's output. -
FAILED- The job did not complete. To get details, use the DescribeTextTranslationJob operation. -
STOP_REQUESTED- The user who started the job has requested that it be stopped. -
STOPPED- The job has been stopped.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobStatus,JobStatus
-
-
-