public GetOpsSummaryRequest withResultAttributes(OpsResultAttribute... resultAttributes) {
        if (this.resultAttributes == null) {
            setResultAttributes(new com.amazonaws.internal.SdkInternalList<OpsResultAttribute>(resultAttributes.length));
        }
        for (OpsResultAttribute ele : resultAttributes) {
            this.resultAttributes.add(ele);
        }
        return this;
    }
<p>
The OpsData data type to return.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setResultAttributes(java.util.Collection)} or {@link #withResultAttributes(java.util.Collection)} if you
want to override the existing values.
</p>

@param resultAttributes
       The OpsData data type to return.
@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/GetOpsSummaryRequest.java