@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() |
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; useful for testing and debugging.
|
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, copyBaseTo, 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.
searchExpression - A Boolean conditional statement. Resource objects must satisfy this condition to be included in search
results.public SearchExpression getSearchExpression()
A Boolean conditional statement. Resource objects must satisfy this condition to be included in search results.
public SearchRequest withSearchExpression(SearchExpression searchExpression)
A Boolean conditional statement. Resource objects must satisfy this condition to be included in search results.
searchExpression - A Boolean conditional statement. Resource objects must satisfy this condition to be included in search
results.public void setSortBy(String sortBy)
The name of the resource property used to sort the SearchResults.
sortBy - The name of the resource property used to sort the SearchResults.public String getSortBy()
The name of the resource property used to sort the SearchResults.
SearchResults.public SearchRequest withSortBy(String sortBy)
The name of the resource property used to sort the SearchResults.
sortBy - The name of the resource property used to sort the SearchResults.public void setSortOrder(String sortOrder)
How SearchResults are ordered. Valid values are Ascending or Descending.
sortOrder - How SearchResults are ordered. Valid values are Ascending or
Descending.SearchSortOrderpublic String getSortOrder()
How SearchResults are ordered. Valid values are Ascending or Descending.
SearchResults are ordered. Valid values are Ascending or
Descending.SearchSortOrderpublic SearchRequest withSortOrder(String sortOrder)
How SearchResults are ordered. Valid values are Ascending or Descending.
sortOrder - How SearchResults are ordered. Valid values are Ascending or
Descending.SearchSortOrderpublic SearchRequest withSortOrder(SearchSortOrder sortOrder)
How SearchResults are ordered. Valid values are Ascending or Descending.
sortOrder - How SearchResults are ordered. Valid values are Ascending or
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()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.