@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLanguageModelsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLanguageModelsResult() |
Modifier and Type | Method and Description |
---|---|
ListLanguageModelsResult |
clone() |
boolean |
equals(Object obj) |
List<LanguageModel> |
getModels()
A list of objects containing information about custom language models.
|
String |
getNextToken()
The operation returns a page of jobs at a time.
|
int |
hashCode() |
void |
setModels(Collection<LanguageModel> models)
A list of objects containing information about custom language models.
|
void |
setNextToken(String nextToken)
The operation returns a page of jobs at a time.
|
String |
toString()
Returns a string representation of this object.
|
ListLanguageModelsResult |
withModels(Collection<LanguageModel> models)
A list of objects containing information about custom language models.
|
ListLanguageModelsResult |
withModels(LanguageModel... models)
A list of objects containing information about custom language models.
|
ListLanguageModelsResult |
withNextToken(String nextToken)
The operation returns a page of jobs at a time.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The operation returns a page of jobs at a time. The maximum size of the list is set by the MaxResults parameter.
If there are more language models in the list than the page size, Amazon Transcribe returns the
NextPage
token. Include the token in the next request to the operation to return the next page of
language models.
nextToken
- The operation returns a page of jobs at a time. The maximum size of the list is set by the MaxResults
parameter. If there are more language models in the list than the page size, Amazon Transcribe returns the
NextPage
token. Include the token in the next request to the operation to return the next
page of language models.public String getNextToken()
The operation returns a page of jobs at a time. The maximum size of the list is set by the MaxResults parameter.
If there are more language models in the list than the page size, Amazon Transcribe returns the
NextPage
token. Include the token in the next request to the operation to return the next page of
language models.
NextPage
token. Include the token in the next request to the operation to return the
next page of language models.public ListLanguageModelsResult withNextToken(String nextToken)
The operation returns a page of jobs at a time. The maximum size of the list is set by the MaxResults parameter.
If there are more language models in the list than the page size, Amazon Transcribe returns the
NextPage
token. Include the token in the next request to the operation to return the next page of
language models.
nextToken
- The operation returns a page of jobs at a time. The maximum size of the list is set by the MaxResults
parameter. If there are more language models in the list than the page size, Amazon Transcribe returns the
NextPage
token. Include the token in the next request to the operation to return the next
page of language models.public List<LanguageModel> getModels()
A list of objects containing information about custom language models.
public void setModels(Collection<LanguageModel> models)
A list of objects containing information about custom language models.
models
- A list of objects containing information about custom language models.public ListLanguageModelsResult withModels(LanguageModel... models)
A list of objects containing information about custom language models.
NOTE: This method appends the values to the existing list (if any). Use
setModels(java.util.Collection)
or withModels(java.util.Collection)
if you want to override the
existing values.
models
- A list of objects containing information about custom language models.public ListLanguageModelsResult withModels(Collection<LanguageModel> models)
A list of objects containing information about custom language models.
models
- A list of objects containing information about custom language models.public String toString()
toString
in class Object
Object.toString()
public ListLanguageModelsResult clone()