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

@param l5Ids
       The identifiers for level 5 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