public DescribeCasesRequest withCaseIdList(String... caseIdList) {
        if (this.caseIdList == null) {
            setCaseIdList(new com.amazonaws.internal.SdkInternalList<String>(caseIdList.length));
        }
        for (String ele : caseIdList) {
            this.caseIdList.add(ele);
        }
        return this;
    }
<p>
A list of ID numbers of the support cases you want returned. The maximum number of cases is 100.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCaseIdList(java.util.Collection)} or {@link #withCaseIdList(java.util.Collection)} if you want to
override the existing values.
</p>

@param caseIdList
       A list of ID numbers of the support cases you want returned. The maximum number of cases is 100.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-support/src/main/java/com/amazonaws/services/support/model/DescribeCasesRequest.java