Interface SearchDevicesResponse.Builder

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

  • Method Details

    • devices

      The devices that meet the specified set of filter criteria, in sort order.

      Parameters:
      devices - The devices that meet the specified set of filter criteria, in sort order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • devices

      The devices that meet the specified set of filter criteria, in sort order.

      Parameters:
      devices - The devices that meet the specified set of filter criteria, in sort order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • devices

      The devices that meet the specified set of filter criteria, in sort order.

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

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

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

      SearchDevicesResponse.Builder nextToken(String nextToken)

      The token returned to indicate that there is more data available.

      Parameters:
      nextToken - The token returned to indicate that there is more data available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalCount

      SearchDevicesResponse.Builder totalCount(Integer totalCount)

      The total number of devices returned.

      Parameters:
      totalCount - The total number of devices returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.