public class ListSpeechSynthesisTasksRequest extends AmazonWebServiceRequest implements java.io.Serializable
Returns a list of SpeechSynthesisTask objects ordered by their creation date. This operation can filter the tasks by their status, for example, allowing users to list only tasks that are completed.
Constructor and Description |
---|
ListSpeechSynthesisTasksRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
Maximum number of speech synthesis tasks returned in a List operation.
|
java.lang.String |
getNextToken()
The pagination token to use in the next request to continue the listing
of speech synthesis tasks.
|
java.lang.String |
getStatus()
Status of the speech synthesis tasks returned in a List operation
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
Maximum number of speech synthesis tasks returned in a List operation.
|
void |
setNextToken(java.lang.String nextToken)
The pagination token to use in the next request to continue the listing
of speech synthesis tasks.
|
void |
setStatus(java.lang.String status)
Status of the speech synthesis tasks returned in a List operation
|
void |
setStatus(TaskStatus status)
Status of the speech synthesis tasks returned in a List operation
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListSpeechSynthesisTasksRequest |
withMaxResults(java.lang.Integer maxResults)
Maximum number of speech synthesis tasks returned in a List operation.
|
ListSpeechSynthesisTasksRequest |
withNextToken(java.lang.String nextToken)
The pagination token to use in the next request to continue the listing
of speech synthesis tasks.
|
ListSpeechSynthesisTasksRequest |
withStatus(java.lang.String status)
Status of the speech synthesis tasks returned in a List operation
|
ListSpeechSynthesisTasksRequest |
withStatus(TaskStatus status)
Status of the speech synthesis tasks returned in a List operation
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.Integer getMaxResults()
Maximum number of speech synthesis tasks returned in a List operation.
Constraints:
Range: 1 - 100
Maximum number of speech synthesis tasks returned in a List operation.
public void setMaxResults(java.lang.Integer maxResults)
Maximum number of speech synthesis tasks returned in a List operation.
Constraints:
Range: 1 - 100
maxResults
- Maximum number of speech synthesis tasks returned in a List operation.
public ListSpeechSynthesisTasksRequest withMaxResults(java.lang.Integer maxResults)
Maximum number of speech synthesis tasks returned in a List operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100
maxResults
- Maximum number of speech synthesis tasks returned in a List operation.
public java.lang.String getNextToken()
The pagination token to use in the next request to continue the listing of speech synthesis tasks.
Constraints:
Length: 0 - 4096
The pagination token to use in the next request to continue the listing of speech synthesis tasks.
public void setNextToken(java.lang.String nextToken)
The pagination token to use in the next request to continue the listing of speech synthesis tasks.
Constraints:
Length: 0 - 4096
nextToken
- The pagination token to use in the next request to continue the listing of speech synthesis tasks.
public ListSpeechSynthesisTasksRequest withNextToken(java.lang.String nextToken)
The pagination token to use in the next request to continue the listing of speech synthesis tasks.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4096
nextToken
- The pagination token to use in the next request to continue the listing of speech synthesis tasks.
public java.lang.String getStatus()
Status of the speech synthesis tasks returned in a List operation
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
Status of the speech synthesis tasks returned in a List operation
TaskStatus
public void setStatus(java.lang.String status)
Status of the speech synthesis tasks returned in a List operation
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
status
- Status of the speech synthesis tasks returned in a List operation
TaskStatus
public ListSpeechSynthesisTasksRequest withStatus(java.lang.String status)
Status of the speech synthesis tasks returned in a List operation
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
status
- Status of the speech synthesis tasks returned in a List operation
TaskStatus
public void setStatus(TaskStatus status)
Status of the speech synthesis tasks returned in a List operation
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
status
- Status of the speech synthesis tasks returned in a List operation
TaskStatus
public ListSpeechSynthesisTasksRequest withStatus(TaskStatus status)
Status of the speech synthesis tasks returned in a List operation
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: scheduled, inProgress, completed, failed
status
- Status of the speech synthesis tasks returned in a List operation
TaskStatus
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.