code: public void setBehaviors(java.util.Collection<Behavior> behaviors) {
          if (behaviors == null) {
              this.behaviors = null;
              return;
          }
  
          this.behaviors = new java.util.ArrayList<Behavior>(behaviors);
      }
docs: <p>
  Specifies the behaviors that, when violated by a device (thing), cause an alert.
  </p>
  
  @param behaviors
  Specifies the behaviors that, when violated by a device (thing), cause an alert.