public DescribeOpsItemsResult withOpsItemSummaries(OpsItemSummary... opsItemSummaries) {
        if (this.opsItemSummaries == null) {
            setOpsItemSummaries(new com.amazonaws.internal.SdkInternalList<OpsItemSummary>(opsItemSummaries.length));
        }
        for (OpsItemSummary ele : opsItemSummaries) {
            this.opsItemSummaries.add(ele);
        }
        return this;
    }
<p>
A list of OpsItems.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOpsItemSummaries(java.util.Collection)} or {@link #withOpsItemSummaries(java.util.Collection)} if you
want to override the existing values.
</p>

@param opsItemSummaries
       A list of OpsItems.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/DescribeOpsItemsResult.java