@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListModelPackageGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| ListModelPackageGroupsRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListModelPackageGroupsRequest | 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 model groups created after the specified time. | 
| Date | getCreationTimeBefore()
 A filter that returns only model groups created before the specified time. | 
| Integer | getMaxResults()
 The maximum number of results to return in the response. | 
| String | getNameContains()
 A string in the model group name. | 
| String | getNextToken()
 If the result of the previous  ListModelPackageGroupsrequest was truncated, the response includes aNextToken. | 
| String | getSortBy()
 The field to sort results by. | 
| String | getSortOrder()
 The sort order for results. | 
| int | hashCode() | 
| void | setCreationTimeAfter(Date creationTimeAfter)
 A filter that returns only model groups created after the specified time. | 
| void | setCreationTimeBefore(Date creationTimeBefore)
 A filter that returns only model groups created before the specified time. | 
| void | setMaxResults(Integer maxResults)
 The maximum number of results to return in the response. | 
| void | setNameContains(String nameContains)
 A string in the model group name. | 
| void | setNextToken(String nextToken)
 If the result of the previous  ListModelPackageGroupsrequest was truncated, the response includes aNextToken. | 
| void | setSortBy(String sortBy)
 The field to sort results by. | 
| void | setSortOrder(String sortOrder)
 The sort order for results. | 
| String | toString()Returns a string representation of this object. | 
| ListModelPackageGroupsRequest | withCreationTimeAfter(Date creationTimeAfter)
 A filter that returns only model groups created after the specified time. | 
| ListModelPackageGroupsRequest | withCreationTimeBefore(Date creationTimeBefore)
 A filter that returns only model groups created before the specified time. | 
| ListModelPackageGroupsRequest | withMaxResults(Integer maxResults)
 The maximum number of results to return in the response. | 
| ListModelPackageGroupsRequest | withNameContains(String nameContains)
 A string in the model group name. | 
| ListModelPackageGroupsRequest | withNextToken(String nextToken)
 If the result of the previous  ListModelPackageGroupsrequest was truncated, the response includes aNextToken. | 
| ListModelPackageGroupsRequest | withSortBy(ModelPackageGroupSortBy sortBy)
 The field to sort results by. | 
| ListModelPackageGroupsRequest | withSortBy(String sortBy)
 The field to sort results by. | 
| ListModelPackageGroupsRequest | withSortOrder(SortOrder sortOrder)
 The sort order for results. | 
| ListModelPackageGroupsRequest | 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 setCreationTimeAfter(Date creationTimeAfter)
A filter that returns only model groups created after the specified time.
creationTimeAfter - A filter that returns only model groups created after the specified time.public Date getCreationTimeAfter()
A filter that returns only model groups created after the specified time.
public ListModelPackageGroupsRequest withCreationTimeAfter(Date creationTimeAfter)
A filter that returns only model groups created after the specified time.
creationTimeAfter - A filter that returns only model groups created after the specified time.public void setCreationTimeBefore(Date creationTimeBefore)
A filter that returns only model groups created before the specified time.
creationTimeBefore - A filter that returns only model groups created before the specified time.public Date getCreationTimeBefore()
A filter that returns only model groups created before the specified time.
public ListModelPackageGroupsRequest withCreationTimeBefore(Date creationTimeBefore)
A filter that returns only model groups created before the specified time.
creationTimeBefore - A filter that returns only model groups created before the specified time.public void setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults - The maximum number of results to return in the response.public Integer getMaxResults()
The maximum number of results to return in the response.
public ListModelPackageGroupsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults - The maximum number of results to return in the response.public void setNameContains(String nameContains)
A string in the model group name. This filter returns only model groups whose name contains the specified string.
nameContains - A string in the model group name. This filter returns only model groups whose name contains the specified
        string.public String getNameContains()
A string in the model group name. This filter returns only model groups whose name contains the specified string.
public ListModelPackageGroupsRequest withNameContains(String nameContains)
A string in the model group name. This filter returns only model groups whose name contains the specified string.
nameContains - A string in the model group name. This filter returns only model groups whose name contains the specified
        string.public void setNextToken(String nextToken)
 If the result of the previous ListModelPackageGroups request was truncated, the response includes a
 NextToken. To retrieve the next set of model groups, use the token in the next request.
 
nextToken - If the result of the previous ListModelPackageGroups request was truncated, the response
        includes a NextToken. To retrieve the next set of model groups, use the token in the next
        request.public String getNextToken()
 If the result of the previous ListModelPackageGroups request was truncated, the response includes a
 NextToken. To retrieve the next set of model groups, use the token in the next request.
 
ListModelPackageGroups request was truncated, the response
         includes a NextToken. To retrieve the next set of model groups, use the token in the next
         request.public ListModelPackageGroupsRequest withNextToken(String nextToken)
 If the result of the previous ListModelPackageGroups request was truncated, the response includes a
 NextToken. To retrieve the next set of model groups, use the token in the next request.
 
nextToken - If the result of the previous ListModelPackageGroups request was truncated, the response
        includes a NextToken. To retrieve the next set of model groups, use the token in the next
        request.public void setSortBy(String sortBy)
 The field to sort results by. The default is CreationTime.
 
sortBy - The field to sort results by. The default is CreationTime.ModelPackageGroupSortBypublic String getSortBy()
 The field to sort results by. The default is CreationTime.
 
CreationTime.ModelPackageGroupSortBypublic ListModelPackageGroupsRequest withSortBy(String sortBy)
 The field to sort results by. The default is CreationTime.
 
sortBy - The field to sort results by. The default is CreationTime.ModelPackageGroupSortBypublic ListModelPackageGroupsRequest withSortBy(ModelPackageGroupSortBy sortBy)
 The field to sort results by. The default is CreationTime.
 
sortBy - The field to sort results by. The default is CreationTime.ModelPackageGroupSortBypublic void setSortOrder(String sortOrder)
 The sort order for results. The default is Ascending.
 
sortOrder - The sort order for results. The default is Ascending.SortOrderpublic String getSortOrder()
 The sort order for results. The default is Ascending.
 
Ascending.SortOrderpublic ListModelPackageGroupsRequest withSortOrder(String sortOrder)
 The sort order for results. The default is Ascending.
 
sortOrder - The sort order for results. The default is Ascending.SortOrderpublic ListModelPackageGroupsRequest withSortOrder(SortOrder sortOrder)
 The sort order for results. The default is Ascending.
 
sortOrder - The sort order for results. The default is Ascending.SortOrderpublic String toString()
toString in class ObjectObject.toString()public ListModelPackageGroupsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()