Interface ListDevicesResponse.Builder

  • Method Details

    • devices

      Describes devices.

      Parameters:
      devices - Describes devices.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • devices

      Describes devices.

      Parameters:
      devices - Describes devices.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • devices

      Describes devices.

      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

      ListDevicesResponse.Builder nextToken(String nextToken)

      If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

      Parameters:
      nextToken - If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.