Interface SearchThingsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<SearchThingsResponse.Builder,SearchThingsResponse>, IoTThingsGraphResponse.Builder, SdkBuilder<SearchThingsResponse.Builder,SearchThingsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
SearchThingsResponse

public static interface SearchThingsResponse.Builder extends IoTThingsGraphResponse.Builder, SdkPojo, CopyableBuilder<SearchThingsResponse.Builder,SearchThingsResponse>
  • Method Details

    • things

      An array of things in the result set.

      Parameters:
      things - An array of things in the result set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • things

      An array of things in the result set.

      Parameters:
      things - An array of things in the result set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • things

      An array of things in the result set.

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

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

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

      SearchThingsResponse.Builder nextToken(String nextToken)

      The string to specify as nextToken when you request the next page of results.

      Parameters:
      nextToken - The string to specify as nextToken when you request the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.