@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListModelsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListModelsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListModelsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getCreationTimeAfter()
A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).
|
Date |
getCreationTimeBefore()
A filter that returns only models created before the specified time (timestamp).
|
Integer |
getMaxResults()
The maximum number of models to return in the response.
|
String |
getNameContains()
A string in the model name.
|
String |
getNextToken()
If the response to a previous
ListModels request was truncated, the response includes a
NextToken. |
String |
getSortBy()
Sorts the list of results.
|
String |
getSortOrder()
The sort order for results.
|
int |
hashCode() |
void |
setCreationTimeAfter(Date creationTimeAfter)
A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).
|
void |
setCreationTimeBefore(Date creationTimeBefore)
A filter that returns only models created before the specified time (timestamp).
|
void |
setMaxResults(Integer maxResults)
The maximum number of models to return in the response.
|
void |
setNameContains(String nameContains)
A string in the model name.
|
void |
setNextToken(String nextToken)
If the response to a previous
ListModels request was truncated, the response includes a
NextToken. |
void |
setSortBy(String sortBy)
Sorts the list of results.
|
void |
setSortOrder(String sortOrder)
The sort order for results.
|
String |
toString()
Returns a string representation of this object.
|
ListModelsRequest |
withCreationTimeAfter(Date creationTimeAfter)
A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).
|
ListModelsRequest |
withCreationTimeBefore(Date creationTimeBefore)
A filter that returns only models created before the specified time (timestamp).
|
ListModelsRequest |
withMaxResults(Integer maxResults)
The maximum number of models to return in the response.
|
ListModelsRequest |
withNameContains(String nameContains)
A string in the model name.
|
ListModelsRequest |
withNextToken(String nextToken)
If the response to a previous
ListModels request was truncated, the response includes a
NextToken. |
ListModelsRequest |
withSortBy(ModelSortKey sortBy)
Sorts the list of results.
|
ListModelsRequest |
withSortBy(String sortBy)
Sorts the list of results.
|
ListModelsRequest |
withSortOrder(OrderKey sortOrder)
The sort order for results.
|
ListModelsRequest |
withSortOrder(String sortOrder)
The sort order for results.
|
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, withSdkRequestTimeoutpublic void setSortBy(String sortBy)
Sorts the list of results. The default is CreationTime.
sortBy - Sorts the list of results. The default is CreationTime.ModelSortKeypublic String getSortBy()
Sorts the list of results. The default is CreationTime.
CreationTime.ModelSortKeypublic ListModelsRequest withSortBy(String sortBy)
Sorts the list of results. The default is CreationTime.
sortBy - Sorts the list of results. The default is CreationTime.ModelSortKeypublic ListModelsRequest withSortBy(ModelSortKey sortBy)
Sorts the list of results. The default is CreationTime.
sortBy - Sorts the list of results. The default is CreationTime.ModelSortKeypublic void setSortOrder(String sortOrder)
The sort order for results. The default is Descending.
sortOrder - The sort order for results. The default is Descending.OrderKeypublic String getSortOrder()
The sort order for results. The default is Descending.
Descending.OrderKeypublic ListModelsRequest withSortOrder(String sortOrder)
The sort order for results. The default is Descending.
sortOrder - The sort order for results. The default is Descending.OrderKeypublic ListModelsRequest withSortOrder(OrderKey sortOrder)
The sort order for results. The default is Descending.
sortOrder - The sort order for results. The default is Descending.OrderKeypublic void setNextToken(String nextToken)
If the response to a previous ListModels request was truncated, the response includes a
NextToken. To retrieve the next set of models, use the token in the next request.
nextToken - If the response to a previous ListModels request was truncated, the response includes a
NextToken. To retrieve the next set of models, use the token in the next request.public String getNextToken()
If the response to a previous ListModels request was truncated, the response includes a
NextToken. To retrieve the next set of models, use the token in the next request.
ListModels request was truncated, the response includes a
NextToken. To retrieve the next set of models, use the token in the next request.public ListModelsRequest withNextToken(String nextToken)
If the response to a previous ListModels request was truncated, the response includes a
NextToken. To retrieve the next set of models, use the token in the next request.
nextToken - If the response to a previous ListModels request was truncated, the response includes a
NextToken. To retrieve the next set of models, use the token in the next request.public void setMaxResults(Integer maxResults)
The maximum number of models to return in the response.
maxResults - The maximum number of models to return in the response.public Integer getMaxResults()
The maximum number of models to return in the response.
public ListModelsRequest withMaxResults(Integer maxResults)
The maximum number of models to return in the response.
maxResults - The maximum number of models to return in the response.public void setNameContains(String nameContains)
A string in the model name. This filter returns only models whose name contains the specified string.
nameContains - A string in the model name. This filter returns only models whose name contains the specified string.public String getNameContains()
A string in the model name. This filter returns only models whose name contains the specified string.
public ListModelsRequest withNameContains(String nameContains)
A string in the model name. This filter returns only models whose name contains the specified string.
nameContains - A string in the model name. This filter returns only models whose name contains the specified string.public void setCreationTimeBefore(Date creationTimeBefore)
A filter that returns only models created before the specified time (timestamp).
creationTimeBefore - A filter that returns only models created before the specified time (timestamp).public Date getCreationTimeBefore()
A filter that returns only models created before the specified time (timestamp).
public ListModelsRequest withCreationTimeBefore(Date creationTimeBefore)
A filter that returns only models created before the specified time (timestamp).
creationTimeBefore - A filter that returns only models created before the specified time (timestamp).public void setCreationTimeAfter(Date creationTimeAfter)
A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).
creationTimeAfter - A filter that returns only models with a creation time greater than or equal to the specified time
(timestamp).public Date getCreationTimeAfter()
A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).
public ListModelsRequest withCreationTimeAfter(Date creationTimeAfter)
A filter that returns only models with a creation time greater than or equal to the specified time (timestamp).
creationTimeAfter - A filter that returns only models with a creation time greater than or equal to the specified time
(timestamp).public String toString()
toString in class ObjectObject.toString()public ListModelsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()