@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListModelCardsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListModelCardsRequest() |
Modifier and Type | Method and Description |
---|---|
ListModelCardsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getCreationTimeAfter()
Only list model cards that were created after the time specified.
|
Date |
getCreationTimeBefore()
Only list model cards that were created before the time specified.
|
Integer |
getMaxResults()
The maximum number of model cards to list.
|
String |
getModelCardStatus()
Only list model cards with the specified approval status.
|
String |
getNameContains()
Only list model cards with names that contain the specified string.
|
String |
getNextToken()
If the response to a previous
ListModelCards request was truncated, the response includes a
NextToken . |
String |
getSortBy()
Sort model cards by either name or creation time.
|
String |
getSortOrder()
Sort model cards by ascending or descending order.
|
int |
hashCode() |
void |
setCreationTimeAfter(Date creationTimeAfter)
Only list model cards that were created after the time specified.
|
void |
setCreationTimeBefore(Date creationTimeBefore)
Only list model cards that were created before the time specified.
|
void |
setMaxResults(Integer maxResults)
The maximum number of model cards to list.
|
void |
setModelCardStatus(String modelCardStatus)
Only list model cards with the specified approval status.
|
void |
setNameContains(String nameContains)
Only list model cards with names that contain the specified string.
|
void |
setNextToken(String nextToken)
If the response to a previous
ListModelCards request was truncated, the response includes a
NextToken . |
void |
setSortBy(String sortBy)
Sort model cards by either name or creation time.
|
void |
setSortOrder(String sortOrder)
Sort model cards by ascending or descending order.
|
String |
toString()
Returns a string representation of this object.
|
ListModelCardsRequest |
withCreationTimeAfter(Date creationTimeAfter)
Only list model cards that were created after the time specified.
|
ListModelCardsRequest |
withCreationTimeBefore(Date creationTimeBefore)
Only list model cards that were created before the time specified.
|
ListModelCardsRequest |
withMaxResults(Integer maxResults)
The maximum number of model cards to list.
|
ListModelCardsRequest |
withModelCardStatus(ModelCardStatus modelCardStatus)
Only list model cards with the specified approval status.
|
ListModelCardsRequest |
withModelCardStatus(String modelCardStatus)
Only list model cards with the specified approval status.
|
ListModelCardsRequest |
withNameContains(String nameContains)
Only list model cards with names that contain the specified string.
|
ListModelCardsRequest |
withNextToken(String nextToken)
If the response to a previous
ListModelCards request was truncated, the response includes a
NextToken . |
ListModelCardsRequest |
withSortBy(ModelCardSortBy sortBy)
Sort model cards by either name or creation time.
|
ListModelCardsRequest |
withSortBy(String sortBy)
Sort model cards by either name or creation time.
|
ListModelCardsRequest |
withSortOrder(ModelCardSortOrder sortOrder)
Sort model cards by ascending or descending order.
|
ListModelCardsRequest |
withSortOrder(String sortOrder)
Sort model cards by ascending or descending order.
|
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)
Only list model cards that were created after the time specified.
creationTimeAfter
- Only list model cards that were created after the time specified.public Date getCreationTimeAfter()
Only list model cards that were created after the time specified.
public ListModelCardsRequest withCreationTimeAfter(Date creationTimeAfter)
Only list model cards that were created after the time specified.
creationTimeAfter
- Only list model cards that were created after the time specified.public void setCreationTimeBefore(Date creationTimeBefore)
Only list model cards that were created before the time specified.
creationTimeBefore
- Only list model cards that were created before the time specified.public Date getCreationTimeBefore()
Only list model cards that were created before the time specified.
public ListModelCardsRequest withCreationTimeBefore(Date creationTimeBefore)
Only list model cards that were created before the time specified.
creationTimeBefore
- Only list model cards that were created before the time specified.public void setMaxResults(Integer maxResults)
The maximum number of model cards to list.
maxResults
- The maximum number of model cards to list.public Integer getMaxResults()
The maximum number of model cards to list.
public ListModelCardsRequest withMaxResults(Integer maxResults)
The maximum number of model cards to list.
maxResults
- The maximum number of model cards to list.public void setNameContains(String nameContains)
Only list model cards with names that contain the specified string.
nameContains
- Only list model cards with names that contain the specified string.public String getNameContains()
Only list model cards with names that contain the specified string.
public ListModelCardsRequest withNameContains(String nameContains)
Only list model cards with names that contain the specified string.
nameContains
- Only list model cards with names that contain the specified string.public void setModelCardStatus(String modelCardStatus)
Only list model cards with the specified approval status.
modelCardStatus
- Only list model cards with the specified approval status.ModelCardStatus
public String getModelCardStatus()
Only list model cards with the specified approval status.
ModelCardStatus
public ListModelCardsRequest withModelCardStatus(String modelCardStatus)
Only list model cards with the specified approval status.
modelCardStatus
- Only list model cards with the specified approval status.ModelCardStatus
public ListModelCardsRequest withModelCardStatus(ModelCardStatus modelCardStatus)
Only list model cards with the specified approval status.
modelCardStatus
- Only list model cards with the specified approval status.ModelCardStatus
public void setNextToken(String nextToken)
If the response to a previous ListModelCards
request was truncated, the response includes a
NextToken
. To retrieve the next set of model cards, use the token in the next request.
nextToken
- If the response to a previous ListModelCards
request was truncated, the response includes a
NextToken
. To retrieve the next set of model cards, use the token in the next request.public String getNextToken()
If the response to a previous ListModelCards
request was truncated, the response includes a
NextToken
. To retrieve the next set of model cards, use the token in the next request.
ListModelCards
request was truncated, the response includes a
NextToken
. To retrieve the next set of model cards, use the token in the next request.public ListModelCardsRequest withNextToken(String nextToken)
If the response to a previous ListModelCards
request was truncated, the response includes a
NextToken
. To retrieve the next set of model cards, use the token in the next request.
nextToken
- If the response to a previous ListModelCards
request was truncated, the response includes a
NextToken
. To retrieve the next set of model cards, use the token in the next request.public void setSortBy(String sortBy)
Sort model cards by either name or creation time. Sorts by creation time by default.
sortBy
- Sort model cards by either name or creation time. Sorts by creation time by default.ModelCardSortBy
public String getSortBy()
Sort model cards by either name or creation time. Sorts by creation time by default.
ModelCardSortBy
public ListModelCardsRequest withSortBy(String sortBy)
Sort model cards by either name or creation time. Sorts by creation time by default.
sortBy
- Sort model cards by either name or creation time. Sorts by creation time by default.ModelCardSortBy
public ListModelCardsRequest withSortBy(ModelCardSortBy sortBy)
Sort model cards by either name or creation time. Sorts by creation time by default.
sortBy
- Sort model cards by either name or creation time. Sorts by creation time by default.ModelCardSortBy
public void setSortOrder(String sortOrder)
Sort model cards by ascending or descending order.
sortOrder
- Sort model cards by ascending or descending order.ModelCardSortOrder
public String getSortOrder()
Sort model cards by ascending or descending order.
ModelCardSortOrder
public ListModelCardsRequest withSortOrder(String sortOrder)
Sort model cards by ascending or descending order.
sortOrder
- Sort model cards by ascending or descending order.ModelCardSortOrder
public ListModelCardsRequest withSortOrder(ModelCardSortOrder sortOrder)
Sort model cards by ascending or descending order.
sortOrder
- Sort model cards by ascending or descending order.ModelCardSortOrder
public String toString()
toString
in class Object
Object.toString()
public ListModelCardsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()