Interface SearchRequest.Builder

  • Method Details

    • additionalAttributesWithStrings

      SearchRequest.Builder additionalAttributesWithStrings(Collection<String> additionalAttributes)

      Specifies additional attributes for the Search action.

      Parameters:
      additionalAttributes - Specifies additional attributes for the Search action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalAttributesWithStrings

      SearchRequest.Builder additionalAttributesWithStrings(String... additionalAttributes)

      Specifies additional attributes for the Search action.

      Parameters:
      additionalAttributes - Specifies additional attributes for the Search action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalAttributes

      SearchRequest.Builder additionalAttributes(Collection<SearchOutputAdditionalAttribute> additionalAttributes)

      Specifies additional attributes for the Search action.

      Parameters:
      additionalAttributes - Specifies additional attributes for the Search action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalAttributes

      SearchRequest.Builder additionalAttributes(SearchOutputAdditionalAttribute... additionalAttributes)

      Specifies additional attributes for the Search action.

      Parameters:
      additionalAttributes - Specifies additional attributes for the Search action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainIdentifier

      SearchRequest.Builder domainIdentifier(String domainIdentifier)

      The identifier of the Amazon DataZone domain.

      Parameters:
      domainIdentifier - The identifier of the Amazon DataZone domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Specifies the search filters.

      Parameters:
      filters - Specifies the search filters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Specifies the search filters.

      This is a convenience method that creates an instance of the FilterClause.Builder avoiding the need to create one manually via FilterClause.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(FilterClause).

      Parameters:
      filters - a consumer that will call methods on FilterClause.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      SearchRequest.Builder maxResults(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      SearchRequest.Builder nextToken(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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • owningProjectIdentifier

      SearchRequest.Builder owningProjectIdentifier(String owningProjectIdentifier)

      The identifier of the owning project specified for the search.

      Parameters:
      owningProjectIdentifier - The identifier of the owning project specified for the search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • searchIn

      The details of the search.

      Parameters:
      searchIn - The details of the search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • searchIn

      SearchRequest.Builder searchIn(SearchInItem... searchIn)

      The details of the search.

      Parameters:
      searchIn - The details of the search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • searchIn

      The details of the search.

      This is a convenience method that creates an instance of the SearchInItem.Builder avoiding the need to create one manually via SearchInItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to searchIn(List<SearchInItem>).

      Parameters:
      searchIn - a consumer that will call methods on SearchInItem.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • searchScope

      SearchRequest.Builder searchScope(String searchScope)

      The scope of the search.

      Parameters:
      searchScope - The scope of the search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • searchScope

      SearchRequest.Builder searchScope(InventorySearchScope searchScope)

      The scope of the search.

      Parameters:
      searchScope - The scope of the search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • searchText

      SearchRequest.Builder searchText(String searchText)

      Specifies the text for which to search.

      Parameters:
      searchText - Specifies the text for which to search.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sort

      Specifies the way in which the search results are to be sorted.

      Parameters:
      sort - Specifies the way in which the search results are to be sorted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sort

      Specifies the way in which the search results are to be sorted.

      This is a convenience method that creates an instance of the SearchSort.Builder avoiding the need to create one manually via SearchSort.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sort(SearchSort).

      Parameters:
      sort - a consumer that will call methods on SearchSort.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      SearchRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.