java.lang.Object
software.amazon.awscdk.services.iotevents.alpha.Event.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<Event>
Enclosing interface:
Event

@Stability(Experimental) public static final class Event.Builder extends Object implements software.amazon.jsii.Builder<Event>
A builder for Event
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • eventName

      @Stability(Experimental) public Event.Builder eventName(String eventName)
      Sets the value of Event.getEventName()
      Parameters:
      eventName - The name of the event. This parameter is required.
      Returns:
      this
    • actions

      @Stability(Experimental) public Event.Builder actions(List<? extends IAction> actions)
      Sets the value of Event.getActions()
      Parameters:
      actions - The actions to be performed.
      Returns:
      this
    • condition

      @Stability(Experimental) public Event.Builder condition(Expression condition)
      Sets the value of Event.getCondition()
      Parameters:
      condition - The Boolean expression that, when true, causes the actions to be performed.
      Returns:
      this
    • build

      @Stability(Experimental) public Event build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<Event>
      Returns:
      a new instance of Event
      Throws:
      NullPointerException - if any required attribute was not provided