Interface ListDeviceEventsRequest.Builder

    • Method Detail

      • deviceId

        ListDeviceEventsRequest.Builder deviceId​(String deviceId)

        The unique identifier of the device.

        Parameters:
        deviceId - The unique identifier of the device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fromTimeStamp

        ListDeviceEventsRequest.Builder fromTimeStamp​(Instant fromTimeStamp)

        The start date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z

        Parameters:
        fromTimeStamp - The start date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListDeviceEventsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return per request. If not set, a default value of 100 is used.

        Parameters:
        maxResults - The maximum number of results to return per request. If not set, a default value of 100 is used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListDeviceEventsRequest.Builder nextToken​(String nextToken)

        The token to retrieve the next set of results.

        Parameters:
        nextToken - The token to retrieve the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toTimeStamp

        ListDeviceEventsRequest.Builder toTimeStamp​(Instant toTimeStamp)

        The end date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z

        Parameters:
        toTimeStamp - The end date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z
        Returns:
        Returns a reference to this object so that method calls can be chained together.