public static ListObjectAttributesRequest getListObjectAttributesRequest(final String arnName,
                                                                             final String objectId) {
        return ListObjectAttributesRequest.builder()
            .directoryArn(arnName)
            .objectReference(getObjectRefById(objectId))
            .build();
    }
Gets list object attributes request.

@param arnName  the arn name
@param objectId the object id
@return the list object attributes request
support/cas-server-support-cloud-directory-authentication/src/main/java/org/apereo/cas/clouddirectory/AmazonCloudDirectoryUtils.java