@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()
Provides information about the custom language models that match the criteria specified in your request.
|
String |
getNextToken()
If
NextToken is present in your response, it indicates that not all results are displayed. |
int |
hashCode() |
void |
setModels(Collection<LanguageModel> models)
Provides information about the custom language models that match the criteria specified in your request.
|
void |
setNextToken(String nextToken)
If
NextToken is present in your response, it indicates that not all results are displayed. |
String |
toString()
Returns a string representation of this object.
|
ListLanguageModelsResult |
withModels(Collection<LanguageModel> models)
Provides information about the custom language models that match the criteria specified in your request.
|
ListLanguageModelsResult |
withModels(LanguageModel... models)
Provides information about the custom language models that match the criteria specified in your request.
|
ListLanguageModelsResult |
withNextToken(String nextToken)
If
NextToken is present in your response, it indicates that not all results are displayed. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
If NextToken is present in your response, it indicates that not all results are displayed. To view
the next set of results, copy the string associated with the NextToken parameter in your results
output, then run your request again including NextToken with the value of the copied string. Repeat
as needed to view all your results.
nextToken - If NextToken is present in your response, it indicates that not all results are displayed. To
view the next set of results, copy the string associated with the NextToken parameter in your
results output, then run your request again including NextToken with the value of the copied
string. Repeat as needed to view all your results.public String getNextToken()
If NextToken is present in your response, it indicates that not all results are displayed. To view
the next set of results, copy the string associated with the NextToken parameter in your results
output, then run your request again including NextToken with the value of the copied string. Repeat
as needed to view all your results.
NextToken is present in your response, it indicates that not all results are displayed.
To view the next set of results, copy the string associated with the NextToken parameter in
your results output, then run your request again including NextToken with the value of the
copied string. Repeat as needed to view all your results.public ListLanguageModelsResult withNextToken(String nextToken)
If NextToken is present in your response, it indicates that not all results are displayed. To view
the next set of results, copy the string associated with the NextToken parameter in your results
output, then run your request again including NextToken with the value of the copied string. Repeat
as needed to view all your results.
nextToken - If NextToken is present in your response, it indicates that not all results are displayed. To
view the next set of results, copy the string associated with the NextToken parameter in your
results output, then run your request again including NextToken with the value of the copied
string. Repeat as needed to view all your results.public List<LanguageModel> getModels()
Provides information about the custom language models that match the criteria specified in your request.
public void setModels(Collection<LanguageModel> models)
Provides information about the custom language models that match the criteria specified in your request.
models - Provides information about the custom language models that match the criteria specified in your request.public ListLanguageModelsResult withModels(LanguageModel... models)
Provides information about the custom language models that match the criteria specified in your request.
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 - Provides information about the custom language models that match the criteria specified in your request.public ListLanguageModelsResult withModels(Collection<LanguageModel> models)
Provides information about the custom language models that match the criteria specified in your request.
models - Provides information about the custom language models that match the criteria specified in your request.public String toString()
toString in class ObjectObject.toString()public ListLanguageModelsResult clone()