public void setHierarchyRestrictedResources(java.util.Collection<String> hierarchyRestrictedResources) {
        if (hierarchyRestrictedResources == null) {
            this.hierarchyRestrictedResources = null;
            return;
        }

        this.hierarchyRestrictedResources = new java.util.ArrayList<String>(hierarchyRestrictedResources);
    }
<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>.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/CreateSecurityProfileRequest.java