@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.
|
String |
getCrossAccountFilterOption()
A filter that returns either model groups shared with you or model groups in your own account.
|
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
ListModelPackageGroups request was truncated, the response includes a
NextToken . |
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 |
setCrossAccountFilterOption(String crossAccountFilterOption)
A filter that returns either model groups shared with you or model groups in your own account.
|
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
ListModelPackageGroups request was truncated, the response includes a
NextToken . |
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 |
withCrossAccountFilterOption(CrossAccountFilterOption crossAccountFilterOption)
A filter that returns either model groups shared with you or model groups in your own account.
|
ListModelPackageGroupsRequest |
withCrossAccountFilterOption(String crossAccountFilterOption)
A filter that returns either model groups shared with you or model groups in your own account.
|
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
ListModelPackageGroups request was truncated, the response includes a
NextToken . |
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, withSdkRequestTimeout
public 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
.ModelPackageGroupSortBy
public String getSortBy()
The field to sort results by. The default is CreationTime
.
CreationTime
.ModelPackageGroupSortBy
public 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
.ModelPackageGroupSortBy
public 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
.ModelPackageGroupSortBy
public void setSortOrder(String sortOrder)
The sort order for results. The default is Ascending
.
sortOrder
- The sort order for results. The default is Ascending
.SortOrder
public String getSortOrder()
The sort order for results. The default is Ascending
.
Ascending
.SortOrder
public ListModelPackageGroupsRequest withSortOrder(String sortOrder)
The sort order for results. The default is Ascending
.
sortOrder
- The sort order for results. The default is Ascending
.SortOrder
public ListModelPackageGroupsRequest withSortOrder(SortOrder sortOrder)
The sort order for results. The default is Ascending
.
sortOrder
- The sort order for results. The default is Ascending
.SortOrder
public void setCrossAccountFilterOption(String crossAccountFilterOption)
A filter that returns either model groups shared with you or model groups in your own account. When the value is
CrossAccount
, the results show the resources made discoverable to you from other accounts. When the
value is SameAccount
or null
, the results show resources from your account. The default
is SameAccount
.
crossAccountFilterOption
- A filter that returns either model groups shared with you or model groups in your own account. When the
value is CrossAccount
, the results show the resources made discoverable to you from other
accounts. When the value is SameAccount
or null
, the results show resources from
your account. The default is SameAccount
.CrossAccountFilterOption
public String getCrossAccountFilterOption()
A filter that returns either model groups shared with you or model groups in your own account. When the value is
CrossAccount
, the results show the resources made discoverable to you from other accounts. When the
value is SameAccount
or null
, the results show resources from your account. The default
is SameAccount
.
CrossAccount
, the results show the resources made discoverable to you from other
accounts. When the value is SameAccount
or null
, the results show resources
from your account. The default is SameAccount
.CrossAccountFilterOption
public ListModelPackageGroupsRequest withCrossAccountFilterOption(String crossAccountFilterOption)
A filter that returns either model groups shared with you or model groups in your own account. When the value is
CrossAccount
, the results show the resources made discoverable to you from other accounts. When the
value is SameAccount
or null
, the results show resources from your account. The default
is SameAccount
.
crossAccountFilterOption
- A filter that returns either model groups shared with you or model groups in your own account. When the
value is CrossAccount
, the results show the resources made discoverable to you from other
accounts. When the value is SameAccount
or null
, the results show resources from
your account. The default is SameAccount
.CrossAccountFilterOption
public ListModelPackageGroupsRequest withCrossAccountFilterOption(CrossAccountFilterOption crossAccountFilterOption)
A filter that returns either model groups shared with you or model groups in your own account. When the value is
CrossAccount
, the results show the resources made discoverable to you from other accounts. When the
value is SameAccount
or null
, the results show resources from your account. The default
is SameAccount
.
crossAccountFilterOption
- A filter that returns either model groups shared with you or model groups in your own account. When the
value is CrossAccount
, the results show the resources made discoverable to you from other
accounts. When the value is SameAccount
or null
, the results show resources from
your account. The default is SameAccount
.CrossAccountFilterOption
public String toString()
toString
in class Object
Object.toString()
public ListModelPackageGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()