Interface DeviceEvent.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DeviceEvent.Builder,DeviceEvent>, SdkBuilder<DeviceEvent.Builder,DeviceEvent>, SdkPojo
Enclosing class:
DeviceEvent

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

    • type

      The type of device event.

      Parameters:
      type - The type of device event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of device event.

      Parameters:
      type - The type of device event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • value

      The value of the event.

      Parameters:
      value - The value of the event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamp

      DeviceEvent.Builder timestamp(Instant timestamp)

      The time (in epoch) when the event occurred.

      Parameters:
      timestamp - The time (in epoch) when the event occurred.
      Returns:
      Returns a reference to this object so that method calls can be chained together.