Interface SearchEngagementsRequest.Builder

  • Method Details

    • catalog

      Specifies the catalog to search. The following values are valid:

      • AWS: Production.

      • Sandbox: Testing environments.

      Parameters:
      catalog - Specifies the catalog to search. The following values are valid:

      • AWS: Production.

      • Sandbox: Testing environments.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyword

      An optional free-text query string matched against the engagement title, description, customer company name, and member company names. When provided together with Filter or GroupId, each one narrows the result set.

      Parameters:
      keyword - An optional free-text query string matched against the engagement title, description, customer company name, and member company names. When provided together with Filter or GroupId, each one narrows the result set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      A recursive, structured filter tree. Each node is either a boolean combinator (AndAllFilters, OrAllFilters, or NotFilter) or a leaf predicate (a single comparison such as EqualsTo). When provided together with Keyword or GroupId, each one narrows the result set.

      Parameters:
      filter - A recursive, structured filter tree. Each node is either a boolean combinator ( AndAllFilters, OrAllFilters, or NotFilter) or a leaf predicate (a single comparison such as EqualsTo). When provided together with Keyword or GroupId, each one narrows the result set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filter

      A recursive, structured filter tree. Each node is either a boolean combinator (AndAllFilters, OrAllFilters, or NotFilter) or a leaf predicate (a single comparison such as EqualsTo). When provided together with Keyword or GroupId, each one narrows the result set.

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

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

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

      The identifier of an engagement group that ListEngagementGroups returns. When you specify a group, the operation returns only the engagements that match the criteria that define the group. The group must be active and available to you in the specified catalog. Otherwise, the request fails with a ValidationException.

      Parameters:
      groupId - The identifier of an engagement group that ListEngagementGroups returns. When you specify a group, the operation returns only the engagements that match the criteria that define the group. The group must be active and available to you in the specified catalog. Otherwise, the request fails with a ValidationException.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sort

      Specifies the field and direction used to sort the search results. If you omit this field, results are sorted by creation time, newest first.

      Parameters:
      sort - Specifies the field and direction used to sort the search results. If you omit this field, results are sorted by creation time, newest first.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sort

      Specifies the field and direction used to sort the search results. If you omit this field, results are sorted by creation time, newest first.

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

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

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

      SearchEngagementsRequest.Builder maxResults(Integer maxResults)

      Specifies the maximum number of results to return in a single call. If you omit this value, the operation returns up to 20 results. Use this value to control pagination together with NextToken.

      Parameters:
      maxResults - Specifies the maximum number of results to return in a single call. If you omit this value, the operation returns up to 20 results. Use this value to control pagination together with NextToken.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      A pagination token returned by a previous call. Pass it in a subsequent call to retrieve the next page of results. Omit it on the first call.

      Parameters:
      nextToken - A pagination token returned by a previous call. Pass it in a subsequent call to retrieve the next page of results. Omit it on the first call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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