code: public DescribeCasesResult withCases(CaseDetails... cases) {
          if (this.cases == null) {
              setCases(new com.amazonaws.internal.SdkInternalList<CaseDetails>(cases.length));
          }
          for (CaseDetails ele : cases) {
              this.cases.add(ele);
          }
          return this;
      }
docs: <p>
  The details for the cases that match the request.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCases(java.util.Collection)} or {@link #withCases(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param cases
  The details for the cases that match the request.
  @return Returns a reference to this object so that method calls can be chained together.