code: public LambdaResource withEventTriggers(EventTriggerDefinition... eventTriggers) {
          if (this.eventTriggers == null) {
              setEventTriggers(new java.util.ArrayList<EventTriggerDefinition>(eventTriggers.length));
          }
          for (EventTriggerDefinition ele : eventTriggers) {
              this.eventTriggers.add(ele);
          }
          return this;
      }
docs: <p>
  The array of ARNs for <a>S3Resource</a> objects to trigger the <a>LambdaResource</a> objects associated with this
  job.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setEventTriggers(java.util.Collection)} or {@link #withEventTriggers(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param eventTriggers
  The array of ARNs for <a>S3Resource</a> objects to trigger the <a>LambdaResource</a> objects associated
  with this job.
  @return Returns a reference to this object so that method calls can be chained together.