public UpdateUserHierarchyGroupNameRequest withHierarchyGroupId(String hierarchyGroupId) {
        setHierarchyGroupId(hierarchyGroupId);
        return this;
    }
<p>
The identifier of the hierarchy group.
</p>

@param hierarchyGroupId
       The identifier of the hierarchy group.
@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/UpdateUserHierarchyGroupNameRequest.java