Interface IotEventsAction.Builder

  • Method Details

    • inputName

      IotEventsAction.Builder inputName(String inputName)

      The name of the AWS IoT Events input where the data is sent.

      Parameters:
      inputName - The name of the AWS IoT Events input where the data is sent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      IotEventsAction.Builder payload(Payload payload)

      You can configure the action payload when you send a message to an AWS IoT Events input.

      Parameters:
      payload - You can configure the action payload when you send a message to an AWS IoT Events input.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • payload

      default IotEventsAction.Builder payload(Consumer<Payload.Builder> payload)

      You can configure the action payload when you send a message to an AWS IoT Events input.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to payload(Payload).

      Parameters:
      payload - a consumer that will call methods on Payload.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: