Interface ListDeviceEventsRequest.Builder

    • Method Detail

      • deviceArn

        ListDeviceEventsRequest.Builder deviceArn​(String deviceArn)

        The ARN of a device.

        Parameters:
        deviceArn - The ARN of a device.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventType

        ListDeviceEventsRequest.Builder eventType​(String eventType)

        The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.

        Parameters:
        eventType - The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceEventType, DeviceEventType
      • eventType

        ListDeviceEventsRequest.Builder eventType​(DeviceEventType eventType)

        The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.

        Parameters:
        eventType - The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DeviceEventType, DeviceEventType
      • nextToken

        ListDeviceEventsRequest.Builder nextToken​(String nextToken)

        An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults. When the end of results is reached, the response has a value of null.

        Parameters:
        nextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults. When the end of results is reached, the response has a value of null.
        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 include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

        Parameters:
        maxResults - The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.