public class ListLanguageModelsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Provides more information about the custom language models you've created. You can use the information in this list to find a specific custom language model. You can then use the operation to get more information about it.
Constructor and Description |
---|
ListLanguageModelsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of language models to return in the response.
|
java.lang.String |
getNameContains()
When specified, the custom language model names returned contain the
substring you've specified.
|
java.lang.String |
getNextToken()
When included, fetches the next set of jobs if the result of the previous
request was truncated.
|
java.lang.String |
getStatusEquals()
When specified, returns only custom language models with the specified
status.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of language models to return in the response.
|
void |
setNameContains(java.lang.String nameContains)
When specified, the custom language model names returned contain the
substring you've specified.
|
void |
setNextToken(java.lang.String nextToken)
When included, fetches the next set of jobs if the result of the previous
request was truncated.
|
void |
setStatusEquals(ModelStatus statusEquals)
When specified, returns only custom language models with the specified
status.
|
void |
setStatusEquals(java.lang.String statusEquals)
When specified, returns only custom language models with the specified
status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListLanguageModelsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of language models to return in the response.
|
ListLanguageModelsRequest |
withNameContains(java.lang.String nameContains)
When specified, the custom language model names returned contain the
substring you've specified.
|
ListLanguageModelsRequest |
withNextToken(java.lang.String nextToken)
When included, fetches the next set of jobs if the result of the previous
request was truncated.
|
ListLanguageModelsRequest |
withStatusEquals(ModelStatus statusEquals)
When specified, returns only custom language models with the specified
status.
|
ListLanguageModelsRequest |
withStatusEquals(java.lang.String statusEquals)
When specified, returns only custom language models with the specified
status.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getStatusEquals()
When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
ModelStatus
public void setStatusEquals(java.lang.String statusEquals)
When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
statusEquals
- When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
ModelStatus
public ListLanguageModelsRequest withStatusEquals(java.lang.String statusEquals)
When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
statusEquals
- When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
ModelStatus
public void setStatusEquals(ModelStatus statusEquals)
When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
statusEquals
- When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
ModelStatus
public ListLanguageModelsRequest withStatusEquals(ModelStatus statusEquals)
When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
statusEquals
- When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don't specify a status, Amazon Transcribe returns all custom language models ordered by date.
ModelStatus
public java.lang.String getNameContains()
When specified, the custom language model names returned contain the substring you've specified.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
When specified, the custom language model names returned contain the substring you've specified.
public void setNameContains(java.lang.String nameContains)
When specified, the custom language model names returned contain the substring you've specified.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
nameContains
- When specified, the custom language model names returned contain the substring you've specified.
public ListLanguageModelsRequest withNameContains(java.lang.String nameContains)
When specified, the custom language model names returned contain the substring you've specified.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
nameContains
- When specified, the custom language model names returned contain the substring you've specified.
public java.lang.String getNextToken()
When included, fetches the next set of jobs if the result of the previous request was truncated.
Constraints:
Length: - 8192
Pattern: .+
When included, fetches the next set of jobs if the result of the previous request was truncated.
public void setNextToken(java.lang.String nextToken)
When included, fetches the next set of jobs if the result of the previous request was truncated.
Constraints:
Length: - 8192
Pattern: .+
nextToken
- When included, fetches the next set of jobs if the result of the previous request was truncated.
public ListLanguageModelsRequest withNextToken(java.lang.String nextToken)
When included, fetches the next set of jobs if the result of the previous request was truncated.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 8192
Pattern: .+
nextToken
- When included, fetches the next set of jobs if the result of the previous request was truncated.
public java.lang.Integer getMaxResults()
The maximum number of language models to return in the response. If there are fewer results in the list, the response contains only the actual results.
Constraints:
Range: 1 - 100
The maximum number of language models to return in the response. If there are fewer results in the list, the response contains only the actual results.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of language models to return in the response. If there are fewer results in the list, the response contains only the actual results.
Constraints:
Range: 1 - 100
maxResults
- The maximum number of language models to return in the response. If there are fewer results in the list, the response contains only the actual results.
public ListLanguageModelsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of language models to return in the response. If there are fewer results in the list, the response contains only the actual results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100
maxResults
- The maximum number of language models to return in the response. If there are fewer results in the list, the response contains only the actual results.
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.