Interface SearchContactsRequest.Builder

All Superinterfaces:
AlexaForBusinessRequest.Builder, AwsRequest.Builder, Buildable, CopyableBuilder<SearchContactsRequest.Builder,SearchContactsRequest>, SdkBuilder<SearchContactsRequest.Builder,SearchContactsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
SearchContactsRequest

public static interface SearchContactsRequest.Builder extends AlexaForBusinessRequest.Builder, SdkPojo, CopyableBuilder<SearchContactsRequest.Builder,SearchContactsRequest>
  • Method Details

    • filters

      The filters to use to list a specified set of address books. The supported filter keys are DisplayName, FirstName, LastName, and AddressBookArns.

      Parameters:
      filters - The filters to use to list a specified set of address books. The supported filter keys are DisplayName, FirstName, LastName, and AddressBookArns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The filters to use to list a specified set of address books. The supported filter keys are DisplayName, FirstName, LastName, and AddressBookArns.

      Parameters:
      filters - The filters to use to list a specified set of address books. The supported filter keys are DisplayName, FirstName, LastName, and AddressBookArns.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The filters to use to list a specified set of address books. The supported filter keys are DisplayName, FirstName, LastName, and AddressBookArns.

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

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

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

      SearchContactsRequest.Builder sortCriteria(Collection<Sort> sortCriteria)

      The sort order to use in listing the specified set of contacts. The supported sort keys are DisplayName, FirstName, and LastName.

      Parameters:
      sortCriteria - The sort order to use in listing the specified set of contacts. The supported sort keys are DisplayName, FirstName, and LastName.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortCriteria

      SearchContactsRequest.Builder sortCriteria(Sort... sortCriteria)

      The sort order to use in listing the specified set of contacts. The supported sort keys are DisplayName, FirstName, and LastName.

      Parameters:
      sortCriteria - The sort order to use in listing the specified set of contacts. The supported sort keys are DisplayName, FirstName, and LastName.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortCriteria

      SearchContactsRequest.Builder sortCriteria(Consumer<Sort.Builder>... sortCriteria)

      The sort order to use in listing the specified set of contacts. The supported sort keys are DisplayName, FirstName, and LastName.

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

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

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

      SearchContactsRequest.Builder nextToken(String nextToken)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.

      Parameters:
      nextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      SearchContactsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

      Parameters:
      maxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      SearchContactsRequest.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.