@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SearchRequest() |
| Modifier and Type | Method and Description |
|---|---|
SearchRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return in a
SearchResponse. |
String |
getNextToken()
If more than
MaxResults resource objects match the specified SearchExpression, the
SearchResponse includes a NextToken. |
String |
getResource()
The name of the Amazon SageMaker resource to search for.
|
SearchExpression |
getSearchExpression()
A Boolean conditional statement.
|
String |
getSortBy()
The name of the resource property used to sort the
SearchResults. |
String |
getSortOrder()
How
SearchResults are ordered. |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a
SearchResponse. |
void |
setNextToken(String nextToken)
If more than
MaxResults resource objects match the specified SearchExpression, the
SearchResponse includes a NextToken. |
void |
setResource(String resource)
The name of the Amazon SageMaker resource to search for.
|
void |
setSearchExpression(SearchExpression searchExpression)
A Boolean conditional statement.
|
void |
setSortBy(String sortBy)
The name of the resource property used to sort the
SearchResults. |
void |
setSortOrder(String sortOrder)
How
SearchResults are ordered. |
String |
toString()
Returns a string representation of this object.
|
SearchRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a
SearchResponse. |
SearchRequest |
withNextToken(String nextToken)
If more than
MaxResults resource objects match the specified SearchExpression, the
SearchResponse includes a NextToken. |
SearchRequest |
withResource(ResourceType resource)
The name of the Amazon SageMaker resource to search for.
|
SearchRequest |
withResource(String resource)
The name of the Amazon SageMaker resource to search for.
|
SearchRequest |
withSearchExpression(SearchExpression searchExpression)
A Boolean conditional statement.
|
SearchRequest |
withSortBy(String sortBy)
The name of the resource property used to sort the
SearchResults. |
SearchRequest |
withSortOrder(SearchSortOrder sortOrder)
How
SearchResults are ordered. |
SearchRequest |
withSortOrder(String sortOrder)
How
SearchResults are ordered. |
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 setResource(String resource)
The name of the Amazon SageMaker resource to search for. Currently, the only valid Resource value is
TrainingJob.
resource - The name of the Amazon SageMaker resource to search for. Currently, the only valid Resource
value is TrainingJob.ResourceTypepublic String getResource()
The name of the Amazon SageMaker resource to search for. Currently, the only valid Resource value is
TrainingJob.
Resource
value is TrainingJob.ResourceTypepublic SearchRequest withResource(String resource)
The name of the Amazon SageMaker resource to search for. Currently, the only valid Resource value is
TrainingJob.
resource - The name of the Amazon SageMaker resource to search for. Currently, the only valid Resource
value is TrainingJob.ResourceTypepublic SearchRequest withResource(ResourceType resource)
The name of the Amazon SageMaker resource to search for. Currently, the only valid Resource value is
TrainingJob.
resource - The name of the Amazon SageMaker resource to search for. Currently, the only valid Resource
value is TrainingJob.ResourceTypepublic void setSearchExpression(SearchExpression searchExpression)
A Boolean conditional statement. Resource objects must satisfy this condition to be included in search results.
You must provide at least one subexpression, filter, or nested filter. The maximum number of recursive
SubExpressions, NestedFilters, and Filters that can be included in a
SearchExpression object is 50.
searchExpression - A Boolean conditional statement. Resource objects must satisfy this condition to be included in search
results. You must provide at least one subexpression, filter, or nested filter. The maximum number of
recursive SubExpressions, NestedFilters, and Filters that can be
included in a SearchExpression object is 50.public SearchExpression getSearchExpression()
A Boolean conditional statement. Resource objects must satisfy this condition to be included in search results.
You must provide at least one subexpression, filter, or nested filter. The maximum number of recursive
SubExpressions, NestedFilters, and Filters that can be included in a
SearchExpression object is 50.
SubExpressions, NestedFilters, and Filters that can be
included in a SearchExpression object is 50.public SearchRequest withSearchExpression(SearchExpression searchExpression)
A Boolean conditional statement. Resource objects must satisfy this condition to be included in search results.
You must provide at least one subexpression, filter, or nested filter. The maximum number of recursive
SubExpressions, NestedFilters, and Filters that can be included in a
SearchExpression object is 50.
searchExpression - A Boolean conditional statement. Resource objects must satisfy this condition to be included in search
results. You must provide at least one subexpression, filter, or nested filter. The maximum number of
recursive SubExpressions, NestedFilters, and Filters that can be
included in a SearchExpression object is 50.public void setSortBy(String sortBy)
The name of the resource property used to sort the SearchResults. The default is
LastModifiedTime.
sortBy - The name of the resource property used to sort the SearchResults. The default is
LastModifiedTime.public String getSortBy()
The name of the resource property used to sort the SearchResults. The default is
LastModifiedTime.
SearchResults. The default is
LastModifiedTime.public SearchRequest withSortBy(String sortBy)
The name of the resource property used to sort the SearchResults. The default is
LastModifiedTime.
sortBy - The name of the resource property used to sort the SearchResults. The default is
LastModifiedTime.public void setSortOrder(String sortOrder)
How SearchResults are ordered. Valid values are Ascending or Descending.
The default is Descending.
sortOrder - How SearchResults are ordered. Valid values are Ascending or
Descending. The default is Descending.SearchSortOrderpublic String getSortOrder()
How SearchResults are ordered. Valid values are Ascending or Descending.
The default is Descending.
SearchResults are ordered. Valid values are Ascending or
Descending. The default is Descending.SearchSortOrderpublic SearchRequest withSortOrder(String sortOrder)
How SearchResults are ordered. Valid values are Ascending or Descending.
The default is Descending.
sortOrder - How SearchResults are ordered. Valid values are Ascending or
Descending. The default is Descending.SearchSortOrderpublic SearchRequest withSortOrder(SearchSortOrder sortOrder)
How SearchResults are ordered. Valid values are Ascending or Descending.
The default is Descending.
sortOrder - How SearchResults are ordered. Valid values are Ascending or
Descending. The default is Descending.SearchSortOrderpublic void setNextToken(String nextToken)
If more than MaxResults resource objects match the specified SearchExpression, the
SearchResponse includes a NextToken. The NextToken can be passed to the
next SearchRequest to continue retrieving results for the specified SearchExpression
and Sort parameters.
nextToken - If more than MaxResults resource objects match the specified SearchExpression,
the SearchResponse includes a NextToken. The NextToken can be
passed to the next SearchRequest to continue retrieving results for the specified
SearchExpression and Sort parameters.public String getNextToken()
If more than MaxResults resource objects match the specified SearchExpression, the
SearchResponse includes a NextToken. The NextToken can be passed to the
next SearchRequest to continue retrieving results for the specified SearchExpression
and Sort parameters.
MaxResults resource objects match the specified SearchExpression,
the SearchResponse includes a NextToken. The NextToken can be
passed to the next SearchRequest to continue retrieving results for the specified
SearchExpression and Sort parameters.public SearchRequest withNextToken(String nextToken)
If more than MaxResults resource objects match the specified SearchExpression, the
SearchResponse includes a NextToken. The NextToken can be passed to the
next SearchRequest to continue retrieving results for the specified SearchExpression
and Sort parameters.
nextToken - If more than MaxResults resource objects match the specified SearchExpression,
the SearchResponse includes a NextToken. The NextToken can be
passed to the next SearchRequest to continue retrieving results for the specified
SearchExpression and Sort parameters.public void setMaxResults(Integer maxResults)
The maximum number of results to return in a SearchResponse.
maxResults - The maximum number of results to return in a SearchResponse.public Integer getMaxResults()
The maximum number of results to return in a SearchResponse.
SearchResponse.public SearchRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a SearchResponse.
maxResults - The maximum number of results to return in a SearchResponse.public String toString()
toString in class ObjectObject.toString()public SearchRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.