code: public ListRecoveryPointsByResourceResult withRecoveryPoints(RecoveryPointByResource... recoveryPoints) {
          if (this.recoveryPoints == null) {
              setRecoveryPoints(new java.util.ArrayList<RecoveryPointByResource>(recoveryPoints.length));
          }
          for (RecoveryPointByResource ele : recoveryPoints) {
              this.recoveryPoints.add(ele);
          }
          return this;
      }
docs: <p>
  An array of objects that contain detailed information about recovery points of the specified resource type.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRecoveryPoints(java.util.Collection)} or {@link #withRecoveryPoints(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param recoveryPoints
  An array of objects that contain detailed information about recovery points of the specified resource
  type.
  @return Returns a reference to this object so that method calls can be chained together.