public class TextTranslationJobFilter
extends java.lang.Object
implements java.io.Serializable
Provides information for filtering a list of translation jobs. For more information, see ListTextTranslationJobs.
Constructor and Description |
---|
TextTranslationJobFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobName()
Filters the list of jobs by name.
|
java.lang.String |
getJobStatus()
Filters the list of jobs based by job status.
|
java.util.Date |
getSubmittedAfterTime()
Filters the list of jobs based on the time that the job was submitted for
processing and returns only the jobs submitted after the specified time.
|
java.util.Date |
getSubmittedBeforeTime()
Filters the list of jobs based on the time that the job was submitted for
processing and returns only the jobs submitted before the specified time.
|
int |
hashCode() |
void |
setJobName(java.lang.String jobName)
Filters the list of jobs by name.
|
void |
setJobStatus(JobStatus jobStatus)
Filters the list of jobs based by job status.
|
void |
setJobStatus(java.lang.String jobStatus)
Filters the list of jobs based by job status.
|
void |
setSubmittedAfterTime(java.util.Date submittedAfterTime)
Filters the list of jobs based on the time that the job was submitted for
processing and returns only the jobs submitted after the specified time.
|
void |
setSubmittedBeforeTime(java.util.Date submittedBeforeTime)
Filters the list of jobs based on the time that the job was submitted for
processing and returns only the jobs submitted before the specified time.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TextTranslationJobFilter |
withJobName(java.lang.String jobName)
Filters the list of jobs by name.
|
TextTranslationJobFilter |
withJobStatus(JobStatus jobStatus)
Filters the list of jobs based by job status.
|
TextTranslationJobFilter |
withJobStatus(java.lang.String jobStatus)
Filters the list of jobs based by job status.
|
TextTranslationJobFilter |
withSubmittedAfterTime(java.util.Date submittedAfterTime)
Filters the list of jobs based on the time that the job was submitted for
processing and returns only the jobs submitted after the specified time.
|
TextTranslationJobFilter |
withSubmittedBeforeTime(java.util.Date submittedBeforeTime)
Filters the list of jobs based on the time that the job was submitted for
processing and returns only the jobs submitted before the specified time.
|
public java.lang.String getJobName()
Filters the list of jobs by name.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
Filters the list of jobs by name.
public void setJobName(java.lang.String jobName)
Filters the list of jobs by name.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- Filters the list of jobs by name.
public TextTranslationJobFilter withJobName(java.lang.String jobName)
Filters the list of jobs by name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$
jobName
- Filters the list of jobs by name.
public java.lang.String getJobStatus()
Filters the list of jobs based by job status.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
Filters the list of jobs based by job status.
JobStatus
public void setJobStatus(java.lang.String jobStatus)
Filters the list of jobs based by job status.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
jobStatus
- Filters the list of jobs based by job status.
JobStatus
public TextTranslationJobFilter withJobStatus(java.lang.String jobStatus)
Filters the list of jobs based by job status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
jobStatus
- Filters the list of jobs based by job status.
JobStatus
public void setJobStatus(JobStatus jobStatus)
Filters the list of jobs based by job status.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
jobStatus
- Filters the list of jobs based by job status.
JobStatus
public TextTranslationJobFilter withJobStatus(JobStatus jobStatus)
Filters the list of jobs based by job status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: SUBMITTED, IN_PROGRESS, COMPLETED,
COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
jobStatus
- Filters the list of jobs based by job status.
JobStatus
public java.util.Date getSubmittedBeforeTime()
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
public void setSubmittedBeforeTime(java.util.Date submittedBeforeTime)
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
submittedBeforeTime
- Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
public TextTranslationJobFilter withSubmittedBeforeTime(java.util.Date submittedBeforeTime)
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
Returns a reference to this object so that method calls can be chained together.
submittedBeforeTime
- Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.
public java.util.Date getSubmittedAfterTime()
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
public void setSubmittedAfterTime(java.util.Date submittedAfterTime)
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
submittedAfterTime
- Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
public TextTranslationJobFilter withSubmittedAfterTime(java.util.Date submittedAfterTime)
Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
Returns a reference to this object so that method calls can be chained together.
submittedAfterTime
- Filters the list of jobs based on the time that the job was submitted for processing and returns only the jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.