code: public EnvironmentResourceDescription withTriggers(Trigger... triggers) {
          if (this.triggers == null) {
              setTriggers(new com.amazonaws.internal.SdkInternalList<Trigger>(triggers.length));
          }
          for (Trigger ele : triggers) {
              this.triggers.add(ele);
          }
          return this;
      }
docs: <p>
  The <code>AutoScaling</code> triggers in use by this environment.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTriggers(java.util.Collection)} or {@link #withTriggers(java.util.Collection)} if you want to override
  the existing values.
  </p>
  
  @param triggers
  The <code>AutoScaling</code> triggers in use by this environment.
  @return Returns a reference to this object so that method calls can be chained together.