@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLanguageModelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListLanguageModelsRequest() |
Modifier and Type | Method and Description |
---|---|
ListLanguageModelsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of language models to return in each page of results.
|
String |
getNameContains()
When specified, the custom language model names returned contain the substring you've specified.
|
String |
getNextToken()
When included, fetches the next set of jobs if the result of the previous request was truncated.
|
String |
getStatusEquals()
When specified, returns only custom language models with the specified status.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of language models to return in each page of results.
|
void |
setNameContains(String nameContains)
When specified, the custom language model names returned contain the substring you've specified.
|
void |
setNextToken(String nextToken)
When included, fetches the next set of jobs if the result of the previous request was truncated.
|
void |
setStatusEquals(String statusEquals)
When specified, returns only custom language models with the specified status.
|
String |
toString()
Returns a string representation of this object.
|
ListLanguageModelsRequest |
withMaxResults(Integer maxResults)
The maximum number of language models to return in each page of results.
|
ListLanguageModelsRequest |
withNameContains(String nameContains)
When specified, the custom language model names returned contain the substring you've specified.
|
ListLanguageModelsRequest |
withNextToken(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(String statusEquals)
When specified, returns only custom language models with the specified status.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStatusEquals(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.
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 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.
ModelStatus
public ListLanguageModelsRequest withStatusEquals(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.
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.
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 setNameContains(String nameContains)
When specified, the custom language model names returned contain the substring you've specified.
nameContains
- When specified, the custom language model names returned contain the substring you've specified.public String getNameContains()
When specified, the custom language model names returned contain the substring you've specified.
public ListLanguageModelsRequest withNameContains(String nameContains)
When specified, the custom language model names returned contain the substring you've specified.
nameContains
- When specified, the custom language model names returned contain the substring you've specified.public void setNextToken(String nextToken)
When included, fetches the next set of jobs if the result of the previous request was truncated.
nextToken
- When included, fetches the next set of jobs if the result of the previous request was truncated.public String getNextToken()
When included, fetches the next set of jobs if the result of the previous request was truncated.
public ListLanguageModelsRequest withNextToken(String nextToken)
When included, fetches the next set of jobs if the result of the previous request was truncated.
nextToken
- When included, fetches the next set of jobs if the result of the previous request was truncated.public void setMaxResults(Integer maxResults)
The maximum number of language models to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
maxResults
- The maximum number of language models to return in each page of results. If there are fewer results than
the value you specify, only the actual results are returned. If you do not specify a value, the default of
5 is used.public Integer getMaxResults()
The maximum number of language models to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
public ListLanguageModelsRequest withMaxResults(Integer maxResults)
The maximum number of language models to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
maxResults
- The maximum number of language models to return in each page of results. If there are fewer results than
the value you specify, only the actual results are returned. If you do not specify a value, the default of
5 is used.public String toString()
toString
in class Object
Object.toString()
public ListLanguageModelsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()