Interface ListDevicesResponse.Builder

    • Method Detail

      • devices

        ListDevicesResponse.Builder devices​(Collection<DeviceType> devices)

        An array of devices and their details. Each entry that's returned includes device information, last-accessed and created dates, and the device key.

        Parameters:
        devices - An array of devices and their details. Each entry that's returned includes device information, last-accessed and created dates, and the device key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • devices

        ListDevicesResponse.Builder devices​(DeviceType... devices)

        An array of devices and their details. Each entry that's returned includes device information, last-accessed and created dates, and the device key.

        Parameters:
        devices - An array of devices and their details. Each entry that's returned includes device information, last-accessed and created dates, and the device key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • devices

        ListDevicesResponse.Builder devices​(Consumer<DeviceType.Builder>... devices)

        An array of devices and their details. Each entry that's returned includes device information, last-accessed and created dates, and the device key.

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

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

        Parameters:
        devices - a consumer that will call methods on DeviceType.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #devices(java.util.Collection)
      • paginationToken

        ListDevicesResponse.Builder paginationToken​(String paginationToken)

        The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.

        Parameters:
        paginationToken - The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
        Returns:
        Returns a reference to this object so that method calls can be chained together.