code: public CloudFormationStackRecord withSourceInfo(CloudFormationStackRecordSourceInfo... sourceInfo) {
          if (this.sourceInfo == null) {
              setSourceInfo(new java.util.ArrayList<CloudFormationStackRecordSourceInfo>(sourceInfo.length));
          }
          for (CloudFormationStackRecordSourceInfo ele : sourceInfo) {
              this.sourceInfo.add(ele);
          }
          return this;
      }
docs: <p>
  A list of objects describing the source of the CloudFormation stack record.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSourceInfo(java.util.Collection)} or {@link #withSourceInfo(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param sourceInfo
  A list of objects describing the source of the CloudFormation stack record.
  @return Returns a reference to this object so that method calls can be chained together.