Interface SearchDevicesResponse.Builder

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

public static interface SearchDevicesResponse.Builder extends BraketResponse.Builder, SdkPojo, CopyableBuilder<SearchDevicesResponse.Builder,SearchDevicesResponse>
  • Method Details

    • devices

      An array of DeviceSummary objects for devices that match the specified filter values.

      Parameters:
      devices - An array of DeviceSummary objects for devices that match the specified filter values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • devices

      An array of DeviceSummary objects for devices that match the specified filter values.

      Parameters:
      devices - An array of DeviceSummary objects for devices that match the specified filter values.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • devices

      An array of DeviceSummary objects for devices that match the specified filter values.

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

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

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

      SearchDevicesResponse.Builder nextToken(String nextToken)

      A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.

      Parameters:
      nextToken - A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.