code: public DBInstance withStatusInfos(DBInstanceStatusInfo... statusInfos) {
          if (this.statusInfos == null) {
              setStatusInfos(new com.amazonaws.internal.SdkInternalList<DBInstanceStatusInfo>(statusInfos.length));
          }
          for (DBInstanceStatusInfo ele : statusInfos) {
              this.statusInfos.add(ele);
          }
          return this;
      }
docs: <p>
  The status of a Read Replica. If the instance is not a Read Replica, this is blank.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setStatusInfos(java.util.Collection)} or {@link #withStatusInfos(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param statusInfos
  The status of a Read Replica. If the instance is not a Read Replica, this is blank.
  @return Returns a reference to this object so that method calls can be chained together.