public CreateSecurityProfileRequest withHierarchyRestrictedResources(java.util.Collection<String> hierarchyRestrictedResources) {
        setHierarchyRestrictedResources(hierarchyRestrictedResources);
        return this;
    }
<p>
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are
acceptable ResourceNames: <code>User</code>.
</p>

@param hierarchyRestrictedResources
       The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
       Following are acceptable ResourceNames: <code>User</code>.
@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/CreateSecurityProfileRequest.java