public AgentHierarchyGroups withL4Ids(String... l4Ids) {
        if (this.l4Ids == null) {
            setL4Ids(new java.util.ArrayList<String>(l4Ids.length));
        }
        for (String ele : l4Ids) {
            this.l4Ids.add(ele);
        }
        return this;
    }
<p>
The identifiers for level 4 hierarchy groups.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setL4Ids(java.util.Collection)} or {@link #withL4Ids(java.util.Collection)} if you want to override the
existing values.
</p>

@param l4Ids
       The identifiers for level 4 hierarchy groups.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AgentHierarchyGroups.java