public HierarchyGroups getHierarchyGroups() {
        return this.hierarchyGroups;
    }
<p>
The agent hierarchy groups for the agent.
</p>

@return The agent hierarchy groups for the agent.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/AgentInfo.java