code: public ListProtectionsResult withProtections(Protection... protections) {
          if (this.protections == null) {
              setProtections(new java.util.ArrayList<Protection>(protections.length));
          }
          for (Protection ele : protections) {
              this.protections.add(ele);
          }
          return this;
      }
docs: <p>
  The array of enabled <a>Protection</a> objects.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setProtections(java.util.Collection)} or {@link #withProtections(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param protections
  The array of enabled <a>Protection</a> objects.
  @return Returns a reference to this object so that method calls can be chained together.