public static ObjectAttributeRange getObjectAttributeRanges(final String schemaArn, final String facetName,
                                                                final String attributeName, final String attributeValue) {
        val attributeKey = getAttributeKey(schemaArn, facetName, attributeName);
        return ObjectAttributeRange.builder()
            .attributeKey(attributeKey)
            .range(TypedAttributeValueRange.builder()
                .startValue(getTypedAttributeValue(attributeValue))
                .endValue(getTypedAttributeValue(attributeValue))
                .startMode(RangeMode.INCLUSIVE.toString())
                .endMode(RangeMode.INCLUSIVE.toString())
                .build())
            .build();
    }
Gets object attribute ranges.

@param schemaArn      the schema arn
@param facetName      the facet name
@param attributeName  the attribute name
@param attributeValue the attribute value
@return the object attribute ranges
support/cas-server-support-cloud-directory-authentication/src/main/java/org/apereo/cas/clouddirectory/AmazonCloudDirectoryUtils.java