@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) |
List<String> |
getAdditionalAttributes()
Specifies additional attributes for the
Search action. |
String |
getDomainIdentifier()
The identifier of the Amazon DataZone domain.
|
FilterClause |
getFilters()
Specifies the search filters.
|
Integer |
getMaxResults()
The maximum number of results to return in a single call to
Search. |
String |
getNextToken()
When the number of results is greater than the default value for the
MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of results, the response
includes a pagination token named NextToken. |
String |
getOwningProjectIdentifier()
The identifier of the owning project specified for the search.
|
List<SearchInItem> |
getSearchIn()
The details of the search.
|
String |
getSearchScope()
The scope of the search.
|
String |
getSearchText()
Specifies the text for which to search.
|
SearchSort |
getSort()
Specifies the way in which the search results are to be sorted.
|
int |
hashCode() |
void |
setAdditionalAttributes(Collection<String> additionalAttributes)
Specifies additional attributes for the
Search action. |
void |
setDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
|
void |
setFilters(FilterClause filters)
Specifies the search filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call to
Search. |
void |
setNextToken(String nextToken)
When the number of results is greater than the default value for the
MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of results, the response
includes a pagination token named NextToken. |
void |
setOwningProjectIdentifier(String owningProjectIdentifier)
The identifier of the owning project specified for the search.
|
void |
setSearchIn(Collection<SearchInItem> searchIn)
The details of the search.
|
void |
setSearchScope(String searchScope)
The scope of the search.
|
void |
setSearchText(String searchText)
Specifies the text for which to search.
|
void |
setSort(SearchSort sort)
Specifies the way in which the search results are to be sorted.
|
String |
toString()
Returns a string representation of this object.
|
SearchRequest |
withAdditionalAttributes(Collection<String> additionalAttributes)
Specifies additional attributes for the
Search action. |
SearchRequest |
withAdditionalAttributes(SearchOutputAdditionalAttribute... additionalAttributes)
Specifies additional attributes for the
Search action. |
SearchRequest |
withAdditionalAttributes(String... additionalAttributes)
Specifies additional attributes for the
Search action. |
SearchRequest |
withDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
|
SearchRequest |
withFilters(FilterClause filters)
Specifies the search filters.
|
SearchRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call to
Search. |
SearchRequest |
withNextToken(String nextToken)
When the number of results is greater than the default value for the
MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of results, the response
includes a pagination token named NextToken. |
SearchRequest |
withOwningProjectIdentifier(String owningProjectIdentifier)
The identifier of the owning project specified for the search.
|
SearchRequest |
withSearchIn(Collection<SearchInItem> searchIn)
The details of the search.
|
SearchRequest |
withSearchIn(SearchInItem... searchIn)
The details of the search.
|
SearchRequest |
withSearchScope(InventorySearchScope searchScope)
The scope of the search.
|
SearchRequest |
withSearchScope(String searchScope)
The scope of the search.
|
SearchRequest |
withSearchText(String searchText)
Specifies the text for which to search.
|
SearchRequest |
withSort(SearchSort sort)
Specifies the way in which the search results are to be sorted.
|
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 List<String> getAdditionalAttributes()
Specifies additional attributes for the Search action.
Search action.SearchOutputAdditionalAttributepublic void setAdditionalAttributes(Collection<String> additionalAttributes)
Specifies additional attributes for the Search action.
additionalAttributes - Specifies additional attributes for the Search action.SearchOutputAdditionalAttributepublic SearchRequest withAdditionalAttributes(String... additionalAttributes)
Specifies additional attributes for the Search action.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalAttributes(java.util.Collection) or withAdditionalAttributes(java.util.Collection)
if you want to override the existing values.
additionalAttributes - Specifies additional attributes for the Search action.SearchOutputAdditionalAttributepublic SearchRequest withAdditionalAttributes(Collection<String> additionalAttributes)
Specifies additional attributes for the Search action.
additionalAttributes - Specifies additional attributes for the Search action.SearchOutputAdditionalAttributepublic SearchRequest withAdditionalAttributes(SearchOutputAdditionalAttribute... additionalAttributes)
Specifies additional attributes for the Search action.
additionalAttributes - Specifies additional attributes for the Search action.SearchOutputAdditionalAttributepublic void setDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
domainIdentifier - The identifier of the Amazon DataZone domain.public String getDomainIdentifier()
The identifier of the Amazon DataZone domain.
public SearchRequest withDomainIdentifier(String domainIdentifier)
The identifier of the Amazon DataZone domain.
domainIdentifier - The identifier of the Amazon DataZone domain.public void setFilters(FilterClause filters)
Specifies the search filters.
filters - Specifies the search filters.public FilterClause getFilters()
Specifies the search filters.
public SearchRequest withFilters(FilterClause filters)
Specifies the search filters.
filters - Specifies the search filters.public void setMaxResults(Integer maxResults)
The maximum number of results to return in a single call to Search. When the number of results to be
listed is greater than the value of MaxResults, the response contains a NextToken value
that you can use in a subsequent call to Search to list the next set of results.
maxResults - The maximum number of results to return in a single call to Search. When the number of
results to be listed is greater than the value of MaxResults, the response contains a
NextToken value that you can use in a subsequent call to Search to list the next
set of results.public Integer getMaxResults()
The maximum number of results to return in a single call to Search. When the number of results to be
listed is greater than the value of MaxResults, the response contains a NextToken value
that you can use in a subsequent call to Search to list the next set of results.
Search. When the number of
results to be listed is greater than the value of MaxResults, the response contains a
NextToken value that you can use in a subsequent call to Search to list the
next set of results.public SearchRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call to Search. When the number of results to be
listed is greater than the value of MaxResults, the response contains a NextToken value
that you can use in a subsequent call to Search to list the next set of results.
maxResults - The maximum number of results to return in a single call to Search. When the number of
results to be listed is greater than the value of MaxResults, the response contains a
NextToken value that you can use in a subsequent call to Search to list the next
set of results.public void setNextToken(String nextToken)
When the number of results is greater than the default value for the MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of results, the response
includes a pagination token named NextToken. You can specify this NextToken value in a
subsequent call to Search to list the next set of results.
nextToken - When the number of results is greater than the default value for the MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of results, the
response includes a pagination token named NextToken. You can specify this
NextToken value in a subsequent call to Search to list the next set of results.public String getNextToken()
When the number of results is greater than the default value for the MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of results, the response
includes a pagination token named NextToken. You can specify this NextToken value in a
subsequent call to Search to list the next set of results.
MaxResults parameter,
or if you explicitly specify a value for MaxResults that is less than the number of results,
the response includes a pagination token named NextToken. You can specify this
NextToken value in a subsequent call to Search to list the next set of results.public SearchRequest withNextToken(String nextToken)
When the number of results is greater than the default value for the MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of results, the response
includes a pagination token named NextToken. You can specify this NextToken value in a
subsequent call to Search to list the next set of results.
nextToken - When the number of results is greater than the default value for the MaxResults parameter, or
if you explicitly specify a value for MaxResults that is less than the number of results, the
response includes a pagination token named NextToken. You can specify this
NextToken value in a subsequent call to Search to list the next set of results.public void setOwningProjectIdentifier(String owningProjectIdentifier)
The identifier of the owning project specified for the search.
owningProjectIdentifier - The identifier of the owning project specified for the search.public String getOwningProjectIdentifier()
The identifier of the owning project specified for the search.
public SearchRequest withOwningProjectIdentifier(String owningProjectIdentifier)
The identifier of the owning project specified for the search.
owningProjectIdentifier - The identifier of the owning project specified for the search.public List<SearchInItem> getSearchIn()
The details of the search.
public void setSearchIn(Collection<SearchInItem> searchIn)
The details of the search.
searchIn - The details of the search.public SearchRequest withSearchIn(SearchInItem... searchIn)
The details of the search.
NOTE: This method appends the values to the existing list (if any). Use
setSearchIn(java.util.Collection) or withSearchIn(java.util.Collection) if you want to override
the existing values.
searchIn - The details of the search.public SearchRequest withSearchIn(Collection<SearchInItem> searchIn)
The details of the search.
searchIn - The details of the search.public void setSearchScope(String searchScope)
The scope of the search.
searchScope - The scope of the search.InventorySearchScopepublic String getSearchScope()
The scope of the search.
InventorySearchScopepublic SearchRequest withSearchScope(String searchScope)
The scope of the search.
searchScope - The scope of the search.InventorySearchScopepublic SearchRequest withSearchScope(InventorySearchScope searchScope)
The scope of the search.
searchScope - The scope of the search.InventorySearchScopepublic void setSearchText(String searchText)
Specifies the text for which to search.
searchText - Specifies the text for which to search.public String getSearchText()
Specifies the text for which to search.
public SearchRequest withSearchText(String searchText)
Specifies the text for which to search.
searchText - Specifies the text for which to search.public void setSort(SearchSort sort)
Specifies the way in which the search results are to be sorted.
sort - Specifies the way in which the search results are to be sorted.public SearchSort getSort()
Specifies the way in which the search results are to be sorted.
public SearchRequest withSort(SearchSort sort)
Specifies the way in which the search results are to be sorted.
sort - Specifies the way in which the search results are to be sorted.public String toString()
toString in class ObjectObject.toString()public SearchRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()