@Generated(value="software.amazon.awssdk:codegen") public final class StartTextTranslationJobResponse extends TranslateResponse implements ToCopyableBuilder<StartTextTranslationJobResponse.Builder,StartTextTranslationJobResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartTextTranslationJobResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StartTextTranslationJobResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobId()
The identifier generated for the job.
|
JobStatus |
jobStatus()
The status of the job.
|
String |
jobStatusAsString()
The status of the job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartTextTranslationJobResponse.Builder> |
serializableBuilderClass() |
StartTextTranslationJobResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobId()
The identifier generated for the job. To get the status of a job, use this ID with the DescribeTextTranslationJob operation.
public final 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.
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStatusAsString().
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.
JobStatuspublic final String jobStatusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStatusAsString().
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.
JobStatuspublic StartTextTranslationJobResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartTextTranslationJobResponse.Builder,StartTextTranslationJobResponse>toBuilder in class AwsResponsepublic static StartTextTranslationJobResponse.Builder builder()
public static Class<? extends StartTextTranslationJobResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.