code: public ListViolationEventsResult withViolationEvents(ViolationEvent... violationEvents) {
          if (this.violationEvents == null) {
              setViolationEvents(new java.util.ArrayList<ViolationEvent>(violationEvents.length));
          }
          for (ViolationEvent ele : violationEvents) {
              this.violationEvents.add(ele);
          }
          return this;
      }
docs: <p>
  The security profile violation alerts issued for this account during the given time frame, potentially filtered
  by security profile, behavior violated, or thing (device) violating.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setViolationEvents(java.util.Collection)} or {@link #withViolationEvents(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param violationEvents
  The security profile violation alerts issued for this account during the given time frame, potentially
  filtered by security profile, behavior violated, or thing (device) violating.
  @return Returns a reference to this object so that method calls can be chained together.