public class ListTextTranslationJobsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Gets a list of the batch translation jobs that you have submitted.
Constructor and Description |
---|
ListTextTranslationJobsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
TextTranslationJobFilter |
getFilter()
The parameters that specify which batch translation jobs to retrieve.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return in each page.
|
java.lang.String |
getNextToken()
The token to request the next page of results.
|
int |
hashCode() |
void |
setFilter(TextTranslationJobFilter filter)
The parameters that specify which batch translation jobs to retrieve.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in each page.
|
void |
setNextToken(java.lang.String nextToken)
The token to request the next page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTextTranslationJobsRequest |
withFilter(TextTranslationJobFilter filter)
The parameters that specify which batch translation jobs to retrieve.
|
ListTextTranslationJobsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in each page.
|
ListTextTranslationJobsRequest |
withNextToken(java.lang.String nextToken)
The token to request the next page of results.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public TextTranslationJobFilter getFilter()
The parameters that specify which batch translation jobs to retrieve. Filters include job name, job status, and submission time. You can only set one filter at a time.
The parameters that specify which batch translation jobs to retrieve. Filters include job name, job status, and submission time. You can only set one filter at a time.
public void setFilter(TextTranslationJobFilter filter)
The parameters that specify which batch translation jobs to retrieve. Filters include job name, job status, and submission time. You can only set one filter at a time.
filter
- The parameters that specify which batch translation jobs to retrieve. Filters include job name, job status, and submission time. You can only set one filter at a time.
public ListTextTranslationJobsRequest withFilter(TextTranslationJobFilter filter)
The parameters that specify which batch translation jobs to retrieve. Filters include job name, job status, and submission time. You can only set one filter at a time.
Returns a reference to this object so that method calls can be chained together.
filter
- The parameters that specify which batch translation jobs to retrieve. Filters include job name, job status, and submission time. You can only set one filter at a time.
public java.lang.String getNextToken()
The token to request the next page of results.
Constraints:
Length: - 8192
Pattern: \p{ASCII}{0,8192}
The token to request the next page of results.
public void setNextToken(java.lang.String nextToken)
The token to request the next page of results.
Constraints:
Length: - 8192
Pattern: \p{ASCII}{0,8192}
nextToken
- The token to request the next page of results.
public ListTextTranslationJobsRequest withNextToken(java.lang.String nextToken)
The token to request the next page of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 8192
Pattern: \p{ASCII}{0,8192}
nextToken
- The token to request the next page of results.
public java.lang.Integer getMaxResults()
The maximum number of results to return in each page. The default value is 100.
Constraints:
Range: 1 - 500
The maximum number of results to return in each page. The default value is 100.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in each page. The default value is 100.
Constraints:
Range: 1 - 500
maxResults
- The maximum number of results to return in each page. The default value is 100.
public ListTextTranslationJobsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return in each page. The default value is 100.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 500
maxResults
- The maximum number of results to return in each page. The default value is 100.
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.