@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) |
String |
getCrossAccountFilterOption()
A cross account filter option.
|
Integer |
getMaxResults()
The maximum number of results to return.
|
String |
getNextToken()
If more than
MaxResults resources match the specified SearchExpression, the response
includes a NextToken. |
String |
getResource()
The name of the 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. |
List<VisibilityConditions> |
getVisibilityConditions()
Limits the results of your search request to the resources that you can access.
|
int |
hashCode() |
void |
setCrossAccountFilterOption(String crossAccountFilterOption)
A cross account filter option.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
If more than
MaxResults resources match the specified SearchExpression, the response
includes a NextToken. |
void |
setResource(String resource)
The name of the 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. |
void |
setVisibilityConditions(Collection<VisibilityConditions> visibilityConditions)
Limits the results of your search request to the resources that you can access.
|
String |
toString()
Returns a string representation of this object.
|
SearchRequest |
withCrossAccountFilterOption(CrossAccountFilterOption crossAccountFilterOption)
A cross account filter option.
|
SearchRequest |
withCrossAccountFilterOption(String crossAccountFilterOption)
A cross account filter option.
|
SearchRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
SearchRequest |
withNextToken(String nextToken)
If more than
MaxResults resources match the specified SearchExpression, the response
includes a NextToken. |
SearchRequest |
withResource(ResourceType resource)
The name of the SageMaker resource to search for.
|
SearchRequest |
withResource(String resource)
The name of the 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. |
SearchRequest |
withVisibilityConditions(Collection<VisibilityConditions> visibilityConditions)
Limits the results of your search request to the resources that you can access.
|
SearchRequest |
withVisibilityConditions(VisibilityConditions... visibilityConditions)
Limits the results of your search request to the resources that you can access.
|
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 SageMaker resource to search for.
resource - The name of the SageMaker resource to search for.ResourceTypepublic String getResource()
The name of the SageMaker resource to search for.
ResourceTypepublic SearchRequest withResource(String resource)
The name of the SageMaker resource to search for.
resource - The name of the SageMaker resource to search for.ResourceTypepublic SearchRequest withResource(ResourceType resource)
The name of the SageMaker resource to search for.
resource - The name of the SageMaker resource to search for.ResourceTypepublic void setSearchExpression(SearchExpression searchExpression)
A Boolean conditional statement. Resources 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. Resources 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. Resources 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. Resources 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. Resources 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 resources match the specified SearchExpression, the response
includes a NextToken. The NextToken can be passed to the next
SearchRequest to continue retrieving results.
nextToken - If more than MaxResults resources match the specified SearchExpression, the
response includes a NextToken. The NextToken can be passed to the next
SearchRequest to continue retrieving results.public String getNextToken()
If more than MaxResults resources match the specified SearchExpression, the response
includes a NextToken. The NextToken can be passed to the next
SearchRequest to continue retrieving results.
MaxResults resources match the specified SearchExpression, the
response includes a NextToken. The NextToken can be passed to the next
SearchRequest to continue retrieving results.public SearchRequest withNextToken(String nextToken)
If more than MaxResults resources match the specified SearchExpression, the response
includes a NextToken. The NextToken can be passed to the next
SearchRequest to continue retrieving results.
nextToken - If more than MaxResults resources match the specified SearchExpression, the
response includes a NextToken. The NextToken can be passed to the next
SearchRequest to continue retrieving results.public void setMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults - The maximum number of results to return.public Integer getMaxResults()
The maximum number of results to return.
public SearchRequest withMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults - The maximum number of results to return.public void setCrossAccountFilterOption(String crossAccountFilterOption)
A cross account filter option. When the value is "CrossAccount" the search results will only include
resources made discoverable to you from other accounts. When the value is "SameAccount" or
null the search results will only include resources from your account. Default is null.
For more information on searching for resources made discoverable to your account, see
Search discoverable resources in the SageMaker Developer Guide. The maximum number of
ResourceCatalogs viewable is 1000.
crossAccountFilterOption - A cross account filter option. When the value is "CrossAccount" the search results will only
include resources made discoverable to you from other accounts. When the value is
"SameAccount" or null the search results will only include resources from your
account. Default is null. For more information on searching for resources made discoverable
to your account, see
Search discoverable resources in the SageMaker Developer Guide. The maximum number of
ResourceCatalogs viewable is 1000.CrossAccountFilterOptionpublic String getCrossAccountFilterOption()
A cross account filter option. When the value is "CrossAccount" the search results will only include
resources made discoverable to you from other accounts. When the value is "SameAccount" or
null the search results will only include resources from your account. Default is null.
For more information on searching for resources made discoverable to your account, see
Search discoverable resources in the SageMaker Developer Guide. The maximum number of
ResourceCatalogs viewable is 1000.
"CrossAccount" the search results will only
include resources made discoverable to you from other accounts. When the value is
"SameAccount" or null the search results will only include resources from your
account. Default is null. For more information on searching for resources made discoverable
to your account, see
Search discoverable resources in the SageMaker Developer Guide. The maximum number of
ResourceCatalogs viewable is 1000.CrossAccountFilterOptionpublic SearchRequest withCrossAccountFilterOption(String crossAccountFilterOption)
A cross account filter option. When the value is "CrossAccount" the search results will only include
resources made discoverable to you from other accounts. When the value is "SameAccount" or
null the search results will only include resources from your account. Default is null.
For more information on searching for resources made discoverable to your account, see
Search discoverable resources in the SageMaker Developer Guide. The maximum number of
ResourceCatalogs viewable is 1000.
crossAccountFilterOption - A cross account filter option. When the value is "CrossAccount" the search results will only
include resources made discoverable to you from other accounts. When the value is
"SameAccount" or null the search results will only include resources from your
account. Default is null. For more information on searching for resources made discoverable
to your account, see
Search discoverable resources in the SageMaker Developer Guide. The maximum number of
ResourceCatalogs viewable is 1000.CrossAccountFilterOptionpublic SearchRequest withCrossAccountFilterOption(CrossAccountFilterOption crossAccountFilterOption)
A cross account filter option. When the value is "CrossAccount" the search results will only include
resources made discoverable to you from other accounts. When the value is "SameAccount" or
null the search results will only include resources from your account. Default is null.
For more information on searching for resources made discoverable to your account, see
Search discoverable resources in the SageMaker Developer Guide. The maximum number of
ResourceCatalogs viewable is 1000.
crossAccountFilterOption - A cross account filter option. When the value is "CrossAccount" the search results will only
include resources made discoverable to you from other accounts. When the value is
"SameAccount" or null the search results will only include resources from your
account. Default is null. For more information on searching for resources made discoverable
to your account, see
Search discoverable resources in the SageMaker Developer Guide. The maximum number of
ResourceCatalogs viewable is 1000.CrossAccountFilterOptionpublic List<VisibilityConditions> getVisibilityConditions()
Limits the results of your search request to the resources that you can access.
public void setVisibilityConditions(Collection<VisibilityConditions> visibilityConditions)
Limits the results of your search request to the resources that you can access.
visibilityConditions - Limits the results of your search request to the resources that you can access.public SearchRequest withVisibilityConditions(VisibilityConditions... visibilityConditions)
Limits the results of your search request to the resources that you can access.
NOTE: This method appends the values to the existing list (if any). Use
setVisibilityConditions(java.util.Collection) or withVisibilityConditions(java.util.Collection)
if you want to override the existing values.
visibilityConditions - Limits the results of your search request to the resources that you can access.public SearchRequest withVisibilityConditions(Collection<VisibilityConditions> visibilityConditions)
Limits the results of your search request to the resources that you can access.
visibilityConditions - Limits the results of your search request to the resources that you can access.public String toString()
toString in class ObjectObject.toString()public SearchRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()