public HierarchyGroups withLevel5(AgentHierarchyGroup level5) {
        setLevel5(level5);
        return this;
    }
<p>
The group at level five of the agent hierarchy.
</p>

@param level5
       The group at level five of the agent hierarchy.
@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/HierarchyGroups.java