public ProcessDetails withLineage(LineageObject... lineage) {
        if (this.lineage == null) {
            setLineage(new java.util.ArrayList<LineageObject>(lineage.length));
        }
        for (LineageObject ele : lineage) {
            this.lineage.add(ele);
        }
        return this;
    }
<p>
Information about the process's lineage.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setLineage(java.util.Collection)} or {@link #withLineage(java.util.Collection)} if you want to override
the existing values.
</p>

@param lineage
       Information about the process's lineage.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/ProcessDetails.java