Interface SearchSpacesResponse.Builder

  • Method Details

    • spaceId

      The ID of the space.

      Parameters:
      spaceId - The ID of the space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spaceArn

      The ARN of the space.

      Parameters:
      spaceArn - The ARN of the space.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spaceSummaries

      SearchSpacesResponse.Builder spaceSummaries(Collection<SpaceSummary> spaceSummaries)

      A list of space summaries that match the search criteria.

      Parameters:
      spaceSummaries - A list of space summaries that match the search criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spaceSummaries

      SearchSpacesResponse.Builder spaceSummaries(SpaceSummary... spaceSummaries)

      A list of space summaries that match the search criteria.

      Parameters:
      spaceSummaries - A list of space summaries that match the search criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spaceSummaries

      SearchSpacesResponse.Builder spaceSummaries(Consumer<SpaceSummary.Builder>... spaceSummaries)

      A list of space summaries that match the search criteria.

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

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

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

      SearchSpacesResponse.Builder nextToken(String nextToken)

      The token for the next set of results, or null if there are no more results.

      Parameters:
      nextToken - The token for the next set of results, or null if there are no more results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestId

      SearchSpacesResponse.Builder requestId(String requestId)

      The Amazon Web Services request ID for this operation.

      Parameters:
      requestId - The Amazon Web Services request ID for this operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.