code: public static ListIndexRequest getListIndexRequest(final String attributeName,
                                                         final String attributeValue,
                                                         final ObjectReference reference,
                                                         final CloudDirectoryProperties cloud) {
          val range = getObjectAttributeRanges(cloud.getSchemaArn(), cloud.getFacetName(),
              attributeName, attributeValue);
  
          return new ListIndexRequest().withDirectoryArn(cloud.getDirectoryArn())
              .withIndexReference(reference)
              .withRangesOnIndexedValues(range);
      }
docs: Gets list index request.
  
  @param attributeName  the attribute name
  @param attributeValue the attribute value
  @param reference      the reference
  @param cloud          the cloud
  @return the list index request