Interface LambdaEventSource.Builder

  • Method Details

    • topic

      The topic to which to subscribe to receive event messages.

      Parameters:
      topic - The topic to which to subscribe to receive event messages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of event source. Choose from the following options:

      • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.

      • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

      Parameters:
      type - The type of event source. Choose from the following options:

      • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.

      • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of event source. Choose from the following options:

      • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.

      • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

      Parameters:
      type - The type of event source. Choose from the following options:

      • PUB_SUB – Subscribe to local publish/subscribe messages. This event source type doesn't support MQTT wildcards (+ and #) in the event source topic.

      • IOT_CORE – Subscribe to Amazon Web Services IoT Core MQTT messages. This event source type supports MQTT wildcards (+ and #) in the event source topic.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: